cURL
curl --request GET \ --url https://cloud.onyx.app/api/users/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "is_active": true, "is_superuser": false, "is_verified": false, "role": "limited" }
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?