Knapsack

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

ParameterTypeRequiredDescription
knap_tool_uuidstringYesUUID of the Knap to delete

Request

No request body required.

Response

Returns a success message:

{
  "message": "Knap deleted successfully"
}

Error Responses

Status CodeDescription
404Knap not found
403Access denied - user cannot delete this Knap
500Failed 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