Delete Tokenset
Tokensets
Delete Tokenset
Permanently delete a tokenset and all its data
DELETE
Delete Tokenset
Documentation Index
Fetch the complete documentation index at: https://docs.tokencraft.dev/llms.txt
Use this file to discover all available pages before exploring further.
Delete Tokenset
Permanently deletes a tokenset and all its associated modes and tokens. This action cannot be undone.Write access policy - This endpoint requires the
write:tokens scope.- TEAM-owned workspace:
owner,admin,editorcan write;vieweris blocked (403). - Non-TEAM workspace: only the workspace owner can write.
- If the workspace owner plan has no API write access (for example FREE), write is blocked.
Endpoint
Authentication
Requires a valid API token in the Authorization header.Request
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer token | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
Response
Success Response
Status:200 OK
Examples
Error Responses
404 Not Found
Cascade Deletion
When a tokenset is deleted, the following are also deleted:- ✅ All modes in the tokenset
- ✅ All tokens in those modes
Best Practices
Export Before Deletion
Next Steps
Export Tokenset
Export before deletion
Create Tokenset
Create a new tokenset