cURL
curl --request POST \ --url https://cloud.onyx.app/api/admin/token-rate-limits/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "enabled": true, "token_budget": 123, "period_hours": 123 }'
{ "token_id": 123, "enabled": true, "token_budget": 123, "period_hours": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object
Was this page helpful?