List tags

GET {{baseUrl}}/tags?aid=1234&expand=assignments

This endpoint returns a list of tags in the specified account group (aid).

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.
expandstringOptional, to retrieve associated assignments

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"tags":[{"assignments":[{"id":"123","type":"endpoint-test"},{"id":"123","type":"test"}],"accessType":"all","aid":1234,"color":"#FF0000","createDate":"2022-03-01T23:31:11Z","icon":"occaecat ea offic","id":"5aeab5d5-0d34-4d44-a7ac-fb440185295c","key":"branch","legacyId":83618520.52018216,"objectType":"test","value":"sfo","_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"elit","deprecation":"deserunt ea magna occaecat ","name":"consectetur cupidatat nulla","profile":"in sit qui velit","title":"non dolor","hreflang":"aliqua Lorem"}}},{"assignments":[{"id":"123","type":"dashboard"},{"id":"123","type":"endpoint-test"}],"accessType":"all","aid":1234,"color":"#FF0000","createDate":"2022-03-01T23:31:11Z","icon":"esse","id":"5aeab5d5-0d34-4d44-a7ac-fb440185295c","key":"branch","legacyId":61168101.05323234,"objectType":"test","value":"sfo","_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"eu mollit in reprehenderit","deprecation":"mi","name":"tempor voluptate nulla proident","profile":"fugiat exercitatio","title":"incididunt","hreflang":"do nostrud sint in"}}}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"dolor de","deprecation":"in elit qu","name":"est ex","profile":"tempor","title":"laboris esse amet","hreflang":"enim consectetur"}}}