Create tag

POST {{baseUrl}}/tags?aid=1234

Creates a new tag.

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.

Request Body

{"accessType"=>"all", "color"=>"#FF0000", "key"=>"branch", "objectType"=>"test", "value"=>"sfo"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"assignments":[{"id":"123","type":"endpoint-test"},{"id":"123","type":"dashboard"}],"accessType":"all","aid":1234,"color":"#FF0000","createDate":"2022-03-01T23:31:11Z","icon":"labore ex aute dolore","id":"5aeab5d5-0d34-4d44-a7ac-fb440185295c","key":"branch","legacyId":-50803412.30712495,"objectType":"test","value":"sfo"}