Skip to main content

Delete a Custom Compliance Check

DELETE 

/api/v32.06/custom-compliance/:id

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

Deletes a specific custom compliance check.

This endpoint maps to Defend > Compliance > Custom in the Console UI.

cURL Request

Refer to the following example cURL command that uses basic auth to delete the compliance check with id 9000:

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

Request

Path Parameters

    id stringrequired

Responses

OK

Loading...