Deletes all versions of an existing zone ruleset.
/zones/{zone_id}/rulesets/{ruleset_id}
delete
Zone Rulesets
deleteZoneRuleset
{
"business": true,
"enterprise": true,
"free": true,
"pro": true
} null [
{
"in": "path",
"name": "ruleset_id",
"required": true,
"schema": {
"description": "The unique ID of the ruleset.",
"example": "2f2feab2026849078ba485f918791bdc",
"pattern": "^[0-9a-f]{32}$",
"title": "ID",
"type": "string"
}
},
{
"in": "path",
"name": "zone_id",
"required": true,
"schema": {
"description": "The unique ID of the zone.",
"example": "9f1839b6152d298aca64c4e906b6d074",
"pattern": "^[0-9a-f]{32}$",
"title": "ID",
"type": "string"
}
}
] null {
"204": {
"description": "Delete a zone ruleset response"
},
"4XX": {
"content": {
"application/json": {
"schema": {
"description": "A failure response object.",
"properties": {
"errors": {
"description": "A list of error messages.",
"items": {
"description": "A message.",
"properties": {
"code": {
"description": "A unique code for this message.",
"example": 10000,
"title": "Code",
"type": "integer"
},
"message": {
"description": "A text description of this message.",
"example": "something bad happened",
"minLength": 1,
"title": "Description",
"type": "string"
},
"source": {
"description": "The source of this message.",
"properties": {
"pointer": {
"description": "A JSON pointer to the field that is the source of the message.",
"example": "/rules/0/action",
"minLength": 1,
"title": "Pointer",
"type": "string"
}
},
"required": [
"pointer"
],
"title": "Source",
"type": "object"
}
},
"required": [
"message"
],
"title": "Message",
"type": "object"
},
"title": "Errors",
"type": "array"
},
"messages": {
"description": "A list of warning messages.",
"items": {
"description": "A message.",
"properties": {
"code": {
"description": "A unique code for this message.",
"example": 10000,
"title": "Code",
"type": "integer"
},
"message": {
"description": "A text description of this message.",
"example": "something bad happened",
"minLength": 1,
"title": "Description",
"type": "string"
},
"source": {
"description": "The source of this message.",
"properties": {
"pointer": {
"description": "A JSON pointer to the field that is the source of the message.",
"example": "/rules/0/action",
"minLength": 1,
"title": "Pointer",
"type": "string"
}
},
"required": [
"pointer"
],
"title": "Source",
"type": "object"
}
},
"required": [
"message"
],
"title": "Message",
"type": "object"
},
"title": "Messages",
"type": "array"
},
"result": {
"description": "A result.",
"enum": [
null
],
"title": "Result"
},
"success": {
"description": "Whether the API call was successful.",
"enum": [
false
],
"title": "Success",
"type": "boolean"
}
},
"required": [
"result",
"success",
"errors",
"messages"
],
"title": "Failure response",
"type": "object"
}
}
},
"description": "Delete a zone ruleset failure response."
}
} [
{
"api_token": []
},
{
"api_email": [],
"api_key": []
},
{
"api_email": [],
"api_key": []
}
]