Delete a rule
Deletes the specified policy rule.
Path Parameters
- rule_id string required
Performs the operation on the rule with the specified ID.
- application/json
Request Body
- object
Responses
- 200
- default
Success
- application/api.clumio.policy-rules=v1+json
- Schema
- Example (from schema)
Schema
_links object
- preview_id string
The Clumio-assigned ID of the preview generated by this request. Only valid if
execution_type
is set todryrun
. - task_id string
The Clumio-assigned ID of the task generated by this request.
{
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"read-task": {
"href": "string",
"templated": true,
"type": "string"
}
},
"preview_id": "string",
"task_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
DELETE /policies/rules/:rule_id
Authorization
Request
Request
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/policies/rules/:rule_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.policy-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'