sites

Update Edge Rule

Change a rule's settings and its reason. The reason replaces the current one, so send it back unchanged to keep it. A rule's name, type and domain can't change: delete it and add a new one.

put/sites/{site_id}/edge_rules/{id}

Request

Path parameters

site_idinteger required
idinteger required

Request body

definitionobject
reasonstring

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.