cURL
curl --request PUT \ --url https://aihubmix.com/api/token/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": 123 }'
{ "success": true, "message": "<string>", "data": { "id": 123, "user_id": 123, "status": 123, "name": "<string>", "created_time": 123, "accessed_time": 123, "expired_time": 123, "remain_quota": 123, "unlimited_quota": true, "used_quota": 123, "models": "<string>", "subnet": "<string>" } }
更新现有 KEY 的名称、过期时间、额度、模型/IP 限制与状态等