Skip to main content

Delete a Custom Rule

DELETE 

/api/v32.07/custom-rules/:id

x-prisma-cloud-target-env: {"permission":"policyCustomRules"}

Deletes a custom rule.

cURL Request

Refer to the following example cURL command that deletes a custom rule:

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X DELETE \
'https://<CONSOLE>/api/v<VERSION>/custom-rules/{id}'

Note: No response will be returned upon successful execution.

Request

Responses

OK