Delete Control
DELETEhttps://api.confident-ai.com/v2/organization/governance-controls/{controlId}
Permanently deletes a governance control, every version of its definition, and every verdict recorded against it. Any policy holding the control loses it and stops applying that check.
Warning: This action cannot be undone. To stop a control gating one policy without deleting it, remove it from that policy instead.
curl -X DELETE "https://api.confident-ai.com/v2/organization/governance-controls/{controlId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": "<GOVERNANCE-CONTROL-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
controlIdstringRequiredThe id of the governance control.
Response
Delete Control succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to a governance control by its id.
Show 1 propertyHide 1 property
idstringThe id of the governance control.
deprecatedbooleanIndicates if this endpoint is deprecated.