修改令牌
API Key & 控制台管理
修改令牌
更新已有令牌的配置
PUT
修改令牌
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.
接口说明
修改已有令牌的名称、额度、过期时间、模型权限等配置。这组
/api/token/* 接口主要用于 Crazyrouter 控制台中的 API Key 管理自动化。它们需要用户 access token 与 New-Api-User 请求头,不是给普通 sk-xxx 模型调用流程直接使用的接口。认证方式
使用用户侧认证,请在请求头中携带:请求参数
令牌 ID
令牌名称
剩余额度
是否无限额度
过期时间戳,
-1 为永不过期是否启用模型白名单
模型限制配置字符串,例如
["gpt-5.4","claude-sonnet-4-6"]状态:1=启用,2=禁用
IP 白名单字符串
分组