Skip to main content

Delete a rule

Deletes the specified policy rule.

Path Parameters
  • rule_id string required

    Performs the operation on the rule with the specified ID.

Request Body
  • object
Responses

Success


Schema
  • _links object

    URLs to pages related to the resource.

  • _self object

    The HATEOAS link to this resource.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

  • read-task object

    A HATEOAS link to the task associated with this resource.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

  • preview_id string

    The Clumio-assigned ID of the preview generated by this request. Only valid if execution_type is set to dryrun.

  • task_id string

    The Clumio-assigned ID of the task generated by this request.

DELETE /policies/rules/:rule_id    

Authorization

Request

Click Edit to configure Base URL
https://us-west-2.api.clumio.com
Bearer Token
rule_id — path required
Body
{}
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 '{}'