Assign multiple tags to multiple objects

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

Assigns the specified tags to the specified objects. This endpoint has cumulative behavior: The tags are assigned to the specified objects, and the previous assignments persist. No unassignment takes place.

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

{"tags"=>[{"tagId"=>"c6b78e57-81a2-4c5f-a11a-d96c3c664d55", "assignments"=>[{"id"=>"123", "type"=>"dashboard"}, {"id"=>"123", "type"=>"dashboard"}]}, {"tagId"=>"c6b78e57-81a2-4c5f-a11a-d96c3c664d55", "assignments"=>[{"id"=>"123", "type"=>"v-agent"}, {"id"=>"123", "type"=>"endpoint-test"}]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring