Delete a rule
Relative path: /api/v1/rules/{rule}
Query parameters
Name |
Type |
Description |
|---|---|---|
$idType |
string |
If $idType=uuid {id} in URL is interpreted as UUID |
Parameters in path
Name |
Type |
Required |
Description |
|---|---|---|---|
rule |
string |
Yes |
Rule ID or UUID |
Responses
Display Schema+Headers instead of an Example or vice-versa
Code |
Description and Example |
Description, Schema and Headers |
|---|---|---|
204 |
No content |
No content
{
"$ref": "NoContent",
"description": "No content",
"headers": {
"X-Security-Token": {
"$ref": "X-Security-Token",
"description": "Authentication token",
"schema": {
"$ref": "AuthenticateTokenResponse",
"type": "string",
"example": "eyJhbGciOi[..]ziJSUGusY5kAI"
}
}
}
}
{
"X-Security-Token": {
"$ref": "X-Security-Token",
"description": "Authentication token",
"schema": {
"$ref": "AuthenticateTokenResponse",
"type": "string",
"example": "eyJhbGciOi[..]ziJSUGusY5kAI"
}
}
}
|
401 |
Credentials or access token missing or invalid
{
"error": "string"
}
|
Credentials or access token missing or invalid
{
"$ref": "UnauthorizedError",
"error": {
"type": "string"
}
}
|
403 |
Insufficient permissions to perform action |
Insufficient permissions to perform action
{
"$ref": "ForbiddenError",
"description": "Insufficient permissions to perform action"
}
|