Get user
Changed onReturns details of a specific user by user ID. Use expand[]=role-assignments for the user's structured role grants and expand[]=groups for the user's group memberships. Role grants are direct only by default, each tagged with source; use role_source=all to also include group-inherited.
Request
- Base URLhttps://docs.keycard.ai (the document declares no server; this is the origin it was published from)
- URLhttps://docs.keycard.ai/zones/{zoneId}/users/{id}
- Auth
- HTTP bearer
- or OAuth 2Client credentialsToken URL: /service-account-token
Path parameters
Zone ID
User ID
Query parameters
Selects which grants expand[]=role-assignments returns, tagging each with source: user (direct only, the default), group (group-inherited only), or all (both direct and group-inherited). Requires expand[]=role-assignments.
Response
An authenticated user entity
Changes
- warning
removed the optional property
////////from the response with the status - info
added the required property
to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- warning
- info
added the new optional
queryrequest parameterexpand[] - info
added the new optional
queryrequest parameterrole_source - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
the
//response's property pattern^[a-z0-9]+(?:[-_][a-z0-9]+)*$was added for the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info