Update token
Endpoint: PUT https://4zapi.com/api/token/
Update an existing token. Body must include id.
If query status_only is set, only status is updated.
Parameters
status_only(query, string): If set, only update statusNew-Api-User(header, string, required): Current user ID; must match the authenticated identity
Request example
{
"allow_ips": "",
"expired_time": -1,
"group": "",
"id": 1,
"model_limits": "",
"model_limits_enabled": false,
"name": "my-token",
"remain_quota": 500000,
"unlimited_quota": false
}