Skip to content
getgeolens.com

Me Permissions

GET
/auth/me/permissions/
curl --request GET \
--url https://example.com/api/auth/me/permissions/ \
--header 'Authorization: Bearer <token>'

Return the effective permissions for the currently authenticated user.

Successful Response

Media type application/json
PermissionsResponse
object
permissions
required
Permissions

Map of permission names to granted/denied

object
key
additional properties
boolean
Example generated
{
"permissions": {
"additionalProperty": true
}
}

Bad request — invalid query parameters or payload

Unauthorized — missing or invalid credentials

Forbidden — caller lacks access to this resource

Not found

Validation error

Internal server error