Update Token
API Key & Console Management
Update Token
Update the configuration of an existing token
PUT
Update Token
Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Modify the name, quota, expiration time, model permissions, and other settings of an existing token.The
/api/token/* endpoints are mainly for Crazyrouter dashboard automation around API key management. They require a user access token plus the New-Api-User header, and are not the normal interface for sk-xxx model calls.Authentication
Use user-side authentication with these headers:Request Parameters
Token ID
Token name
Remaining quota
Whether quota is unlimited
Expiration timestamp,
-1 means never expiresWhether to enable the model whitelist
Model restriction config string, for example
["gpt-5.4","claude-sonnet-4-6"]Status: 1=enabled, 2=disabled
IP whitelist string
Group