sites

Validate Edge Rule

Check a rule's settings without adding it, and without checking the quota. Answers with the settings as they would be stored and their summary, or every problem, each naming its field.

post/sites/{site_id}/edge_rules/validate

Request

Path parameters

site_idinteger required

Request body

rule_keystring
definitionobject

Response

Successful Response

messagestring
codestring

Example response

{
  "message": "We couldn't reach the edge right now. Try again in a minute.",
  "code": "edge_rules.unavailable"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.