Update Token
Tokens
Update Token
Update token details
PATCH
Update Token
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 Token
Updates an existing design token. 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
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
modeId | string | Yes | Mode ID |
tokenId | string | Yes | Token ID |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | New token name |
type | string | No | New token type |
value | string | No | New token value |
description | string | No | New description |
alias_to | string | No | New alias reference |
All body parameters are optional. Only provided fields will be updated.
Response
Status:200 OK
Examples
Error Responses
400 Bad Request
404 Not Found
Common Use Cases
1. Update Token Value
2. Change Token Type
3. Convert to Alias
4. Remove Alias
5. Batch Updates
Next Steps
Delete Token
Permanently delete a token
Get Token
Retrieve token details