Delete Skill
DELETEhttps://api.confident-ai.com/v2/organization/governance-policies/{policyId}/skill
Permanently deletes the Agent Skill attached to a governance policy and returns the policy's id. Coding agents working on the projects it governs stop receiving skills/governance/SKILL.md on their next clone. The policy, its controls and its projects are untouched, since the skill instructs agents rather than gating anything. A policy that has no skill is reported as not found.
Warning: This action cannot be undone.
curl -X DELETE "https://api.confident-ai.com/v2/organization/governance-policies/{policyId}/skill" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": "<GOVERNANCE-POLICY-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
policyIdstringRequiredThe id of the governance policy.
Response
Delete Skill succeeded.
successbooleanIndicates if the request was successful.
dataobjectA governance policy, identified by its id.
Show 1 propertyHide 1 property
idstringThe id of the governance policy.
deprecatedbooleanIndicates if this endpoint is deprecated.