Users

Get a user

Returns the specified user with a list of his permissions.


Restrictions:

  • Users of type watcher cannot see other users detail information.
get/accounts/{account_id}/users/{user_id}

Request

  • Base URL: https://api.huntflow.ru/v2
  • URL: https://api.huntflow.ru/v2/accounts/{account_id}/users/{user_id}
  • Auth: HTTP bearer

Path parameters

account_idinteger required
user_idinteger required

User id

Response

Successful Response

idinteger required

User ID

namestring

User name

typestring required

User type (role)

headinteger

Head user ID

emailstring email

Email

metaobject

Additional meta information

Example response

{
  "id": 12,
  "name": "John Doe",
  "type": "owner",
  "head": 2,
  "email": "mail@gmail.com",
  "permissions": [
    {
      "permission": "status",
      "value": "97",
      "vacancy": 1
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.