List account groups

GET {{baseUrl}}/account-groups?aid=1234

Retrieves a list of account groups available to the current user.

Request Params

KeyDatatypeRequiredDescription
aidnumberA 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"accountGroups":[{"aid":"1234","accountGroupName":"Account A","isCurrentAccountGroup":true,"isDefaultAccountGroup":true,"organizationName":"officia aliqua occaecat aliquip"},{"aid":"1234","accountGroupName":"Account A","isCurrentAccountGroup":true,"isDefaultAccountGroup":true,"organizationName":"sunt"}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"voluptate minim veniam","deprecation":"Lorem","name":"culpa","profile":"in adipisicing magna nulla ex","title":"adipisicing repreh","hreflang":"dolore veniam Lorem"}}}