sites
Create Edge Rule
Add an edge rule to a site. It goes to the bottom of its list, so the rules already there act first, except a trusted IP addresses rule, which goes to the top. It is activating until the edge has it, within a few minutes.
post/sites/{site_id}/edge_rules/create
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idinteger required
Request body
Response
Successful Response
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.