Skip to content

Retrieve all users in the organization with their roles and permissions

Request

Changes to users sometimes take a few minutes to appear while being indexed

Security
JWTAuthorizer
curl -i -X GET \
  https://apidocs.trustgrid.io/_mock/user \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
Array [
emailstring

User's email address (also used as login)

statusstring

Whether the user account is active

Enum:"active""inactive"
policyIdsArray of strings

IDs of named policies assigned to this user

policyobject

Inline permission policy map. Keys are resource types (e.g. "virtual-networks"), values are scope → action → boolean maps. Present when the user has inline permissions in addition to named policies.

permissionsobject

Resolved effective permissions (may be empty object if using policyIds)

landingPagestring or null

Custom landing page path after login (null = default)

]
Response
[ { "email": "string", "status": "active", "policyIds": [], "policy": {}, "permissions": {}, "landingPage": "string" } ]