Launch Week 02 wrapped — explore all five launches

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.

DELETE/v2/organization/governance-policies/{policyId}/skill
curl -X DELETE "https://api.confident-ai.com/v2/organization/governance-policies/{policyId}/skill" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<GOVERNANCE-POLICY-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • policyIdstringRequired

    The id of the governance policy.

Response

Delete Skill succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A governance policy, identified by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the governance policy.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI