修改令牌
概览
- 方法: PUT
- 地址: https://api.winfull.cloud-ip.cc/api/token/
认证
- Header: Authorization: Bearer
<token>
请求参数
- Header: Authorization: Bearer
<token> - Body 类型: application/json
{
"id": 194804,
"remain_quota": 250000000000,
"expired_time": -1,
"unlimited_quota": false,
"model_limits_enabled": false,
"model_limits": "",
"group": "",
"mj_image_mode": "default",
"mj_custom_proxy": "",
"selected_groups": [],
"name": "令牌22名字",
"allow_ips": ""
}请求示例
curl --location --request PUT 'https://api.winfull.cloud-ip.cc/api/token/' \
--header 'new-api-user: 1' \
--header 'Authorization;' \
--header 'content-type: application/json' \
--data-raw '{
"id": 194804,
"remain_quota": 250000000000,
"expired_time": -1,
"unlimited_quota": false,
"model_limits_enabled": false,
"model_limits": "",
"group": "",
"mj_image_mode": "default",
"mj_custom_proxy": "",
"selected_groups": [],
"name": "令牌22名字",
"allow_ips": ""
}'返回示例
🟢200成功 示例
{}最后更新:2025-09-26 15:19:56
