CentralCSP
APIInventory Rules

Delete an inventory rule

Removes a rule. Scripts it already justified keep their justification and history.

Requires the manager role on the website and the compliance plan feature.

DELETE
/v1/workspaces/{workspaceId}/websites/{websiteId}/compliance/rules/{ruleId}

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
websiteId*string
ruleId*string

Response Body

curl -X DELETE "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/compliance/rules/string"
Empty