Snippets
snippets
Methods
Fetches all snippets belonging to the zone.
Fetches a snippet belonging to the zone.
Creates or updates a snippet belonging to the zone.
Deletes a snippet belonging to the zone.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Snippets Write
Use this field to specify the unique ID of the zone.
Identify the snippet.
Lists error messages.
Contain warning messages.
Contain the response result.
Indicate whether the API call was successful.
Content
snippets.content
Methods
Fetches the content of a snippet belonging to the zone.
Rules
snippets.rules
Methods
Fetches all snippet rules belonging to the zone.
Updates all snippet rules belonging to the zone.
Deletes all snippet rules belonging to the zone.