Update Mode
Updates an existing mode. Only provided fields will be updated.PRO Plan Required - This endpoint requires a PRO or TEAM subscription plan. API write access is not available on the FREE plan.
Endpoint
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
modeId | string | Yes | Mode ID |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | New mode name (max 255 characters) |
is_default | boolean | No | Set as default mode |
All body parameters are optional. Only provided fields will be updated.
Response
Status:200 OK
Examples
Error Responses
400 Bad Request
404 Not Found
Default Mode Behavior
When settingis_default: true:
- All other modes in this tokenset are set to
is_default: false - Only one mode can be default per tokenset