Delete Project Policy
DELETEhttps://api.confident-ai.com/v1/projects/{projectId}/policies/{policyId}
Deletes a custom project policy.
curl -X DELETE "https://api.confident-ai.com/v1/projects/{projectId}/policies/{policyId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": "policy-uuid-1",
"deleted": true
}
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe unique identifier of the project.
policyIdstringRequiredThe unique identifier of the policy.
Response
successbooleanIndicates if the request was successful
dataobjectShow 2 propertiesHide 2 properties
idstringID of the deleted policy
deletedbooleanAlways
truewhen the policy was deleted
Built byConfident AI