Overview
Permanently deletes a custom skill. Once deleted, the skill can no longer be invoked by AI agents. This action cannot be undone — consider disabling the skill instead if you may need it later.
Skills use a non-standard base path: /api/v1/tenants/{tenantId}/skills — not /v1/. This is a dedicated module with its own routing prefix.
Required role: admin
JWT Bearer token. Format: Bearer <your-jwt>.
Path parameters
Your tenant identifier. Example: ten_EXAMPLE_ABC123.
The skill identifier. Example: skl_01HX9VTPQR3KF8MZWBYD5N6JCE.
Response
Returns 204 No Content on success. No response body.
Error responses
| Status | Error code | Description |
|---|
401 | unauthorized | Missing or invalid JWT |
403 | forbidden | Caller lacks admin role |
404 | skill_not_found | No skill with the given ID |
409 | skill_in_use | Skill is referenced by an active trigger and cannot be deleted |
Examples
curl https://api.causeflow.ai/api/v1/tenants/ten_EXAMPLE_ABC123/skills/skl_01HX9VTPQR3KF8MZWBYD5N6JCE \
-X DELETE \
-H "Authorization: Bearer eyJhbGc..."
Update skill
Disable a skill without deleting it
List skills
View all remaining skills