Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
既存の KEY の名前、有効期限、クォータ、モデル / IP 制限、ステータスを更新します。
cURL
curl --request PUT \ --url https://aihubmix.com/api/token/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": 123 }'
import requests url = "https://aihubmix.com/api/token/" payload = { "id": 123 } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "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>" } }