cURL
curl -X GET \ /user/me \ --header "Authorization: Bearer <token>"
{ "user": { "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ", "firstName": "John", "lastName": "Doe", "email": "jsmith@example.com" }, "account": { "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ" }, "tenant": { "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ", "name": "ACME", "username": "acme", "legalCompanyName": "Acme Inc." }, "roles": [ "ROLE_USER" ] }
Get the current user
user:read
Value for the Authorization header parameter.
User resource
Show child attributes
["ROLE_USER"]
Was this page helpful?