Assign tag to multiple objects

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

Assigns a tag to one or more objects. This endpoint has cumulative behavior: The tag is 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

{"assignments"=>[{"id"=>"123", "type"=>"endpoint-test"}, {"id"=>"123", "type"=>"v-agent"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring