cURL
curl --request PATCH \ --url https://api.callaro.ai/api/v1/partners/{partner_id}/api_keys/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "active": true, "scopes": [ "<string>" ] } '
{ "data": {}, "message": "<string>", "meta": {}, "request_id": "<string>" }
Send active, scopes, or both. Sending scopes replaces the saved scope set for the key. Empty arrays are rejected.
active
scopes
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Updated
Was this page helpful?