Auth
Get current user identity, context, available contexts, and effective permissions
Get current user identity, context, available contexts, and effective permissions
get/api/v1/auth/me
Response
Success
Example response
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"current_context": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Corp"
},
"available_contexts": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Corp",
"roles": [
"admin"
]
}
],
"effective_roles": [
"partner:admin:550e8400-e29b-41d4-a716-446655440000"
],
"permissions": [
"merchants:list"
]
}
}Changes
Changed in 2 of the 8 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 367 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲