GroupsV1
Get list of groups
The group type can be users or locks. When the type is user, list of users will be provided in the request body. In case of the type lock, list of the lock ids will be provided in the body.
get/groups/v1
Request
- Base URL: https://api.danalock.com
- URL: https://api.danalock.com/groups/v1
- Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)
Query parameters
pageinteger
Requested page number
Headers
X-Assume-Userstring
Assume the identity of the user in another domain
Response
Example response
[
{
"id": "group-1234",
"type": "users",
"name": "my user's group",
"users": [
"user-1234"
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.