Delete a Knap
Delete an existing Knap.
Delete a Knap. Only the owner or organization admin can delete a Knap.
Endpoint
DELETE /api/studio/knap-tools/{knap_tool_uuid}Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
knap_tool_uuid | string | Yes | UUID of the Knap to delete |
Request
No request body required.
Response
Returns a success message:
{
"message": "Knap deleted successfully"
}Error Responses
| Status Code | Description |
|---|---|
404 | Knap not found |
403 | Access denied - user cannot delete this Knap |
500 | Failed to delete Knap |
Example
curl -X DELETE https://api.knapsack.ai/api/studio/knap-tools/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer {access_token}"Notes
- Only the Knap owner or organization admins can delete Knaps
- Deletion is permanent and cannot be undone
- All scheduled runs and history associated with the Knap will be removed