UsersV1
Get user
get/users/v1/{user_id}
Request
- Base URL: https://api.danalock.com
- URL: https://api.danalock.com/users/v1/{user_id}
- Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)
Path parameters
user_idstring required
Headers
X-Assume-Userstring
Assume the identity of the user in another domain
Response
user
Example response
{
"id": "user-7646c328e9d8",
"username": "user@example.com",
"display_name": "John Doe",
"role": "User",
"email_address": "user@example.com",
"alias": "user@example.com",
"links": {
"locks": [
{
"id": "lock_user-352342782c1d",
"lock_id": "lock-7b38253aec3b",
"calendar_id": "calendar-aa9343c07039"
}
],
"groups": [
{
"id": "group_user-7dc8b21b6268",
"group_id": "group-78d5c069e798",
"calendar_id": "calendar-3310a3560f18"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.