cURL
curl --request GET \ --url https://cloud.onyx.app/api/get-user-role \ --header 'Authorization: Bearer <token>'
{ "role": "<string>" }
Authorization header with Bearer token
Successful Response
Was this page helpful?