Update documentation for PageRule.Status
* Update documentation for PageRule.Status
The documentation for PageRule.Status was describing incorrect values. The API returns "active" and "disabled", and returns an error if we try to set the status to "paused".
* Remove status values in comment
@@ -109,7 +109,7 @@ type PageRule struct {
Targets []PageRuleTarget `json:"targets"`
Actions []PageRuleAction `json:"actions"`
Priority int `json:"priority"`
- Status string `json:"status"` // can be: active, paused
+ Status string `json:"status"`
ModifiedOn time.Time `json:"modified_on,omitempty"`
CreatedOn time.Time `json:"created_on,omitempty"`
}
