Retrieve tag
GET {{baseUrl}}/tags/:id?aid=1234&expand=assignments
Retrieves a tag using its ID.
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. | |
expand | string | Optional, to retrieve associated assignments |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"assignments":[{"id":"123","type":"endpoint-test"},{"id":"123","type":"v-agent"}],"accessType":"all","aid":1234,"color":"#FF0000","createDate":"2022-03-01T23:31:11Z","icon":"quis do","id":"5aeab5d5-0d34-4d44-a7ac-fb440185295c","key":"branch","legacyId":-65946753.19963601,"objectType":"test","value":"sfo","_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"quis aliqua","deprecation":"anim incididunt","name":"nis","profile":"irure voluptate","title":"ad Duis","hreflang":"tempor sit in ex"}}}