List users
GET {{baseUrl}}/users?aid=1234
Retrieves a list of users in the organization the account group ID belongs to. This operation requires the API Access
and View all users
permissions. See Account Context for more information on changing the account group context.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"users":[{"name":"User X","email":"userx@thousandeyes.com","uid":"245","dateRegistered":"2020-07-17T22:00:54Z","loginAccountGroup":{"aid":"1234","accountGroupName":"Account A"},"lastLogin":"2022-07-17T22:00:54Z"},{"name":"User X","email":"userx@thousandeyes.com","uid":"245","dateRegistered":"2020-07-17T22:00:54Z","loginAccountGroup":{"aid":"1234","accountGroupName":"Account A"},"lastLogin":"2022-07-17T22:00:54Z"}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"magna dolor est id consectetur","deprecation":"deserunt non","name":"officia voluptate aliquip cupidatat non","profile":"laborum consectetur amet","title":"ut ut","hreflang":"fugiat irure consectetur proident"}}}