Update Tokenset
Tokensets
Update Tokenset
Update tokenset details
PATCH
Update 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.
Update Tokenset
Updates an existing tokenset. Only provided fields will be updated.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 |
Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | New tokenset name (max 255 characters) |
description | string | No | New description (null to remove) |
All body parameters are optional. Only provided fields will be updated.
Request Body
Response
Success Response
Status:200 OK
Examples
Error Responses
400 Bad Request
404 Not Found
Next Steps
Delete Tokenset
Permanently delete a tokenset
List Modes
View tokenset modes