Skip to main content

Delete a Custom Rule

DELETE 

/api/v31.02/custom-rules/:id

x-prisma-cloud-target-env: {"permission":"policyCustomRules","saas":true,"self-hosted":true}
x-public: true

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