Endpoint
Request
Headers
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
template_id | string | ✅ Yes | Template ID to delete |
Response
Status Code:204 No Content
No response body on success.
Examples
- cURL
- Python
- JavaScript
Error Responses
404 Not Found - Template not foundNotes
- Only templates you created can be deleted
- Built-in templates (like
code-interpreter) cannot be deleted - Templates that are currently in use by active sandboxes cannot be deleted
- Deletion is permanent and cannot be undone

