GroupsV1

Get group data by group id

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/{group_id}

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/groups/v1/{group_id}
  • Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)

Path parameters

group_idstring required

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Response

idstring
type'users' | 'locks'
namestring

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.