Get current user
cURL
curl --request GET \ --url https://api.example.com/api/v1/users/me \ --header 'Authorization: Basic <encoded-value>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "role": "admin", "created_at": "2023-11-07T05:31:56Z" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful Response
admin
developer
user