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.
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
Update an inventory rule PATCH
Changes a rule or turns it off with enabled: false. Only the fields you send are changed, and reconciliation runs again afterwards.
Export the script inventory GET
Streams the whole inventory as CSV, with the same filters as the list endpoint and no pagination. Suitable as evidence for an assessor.