add_tags
array to assign one or more new tags to the specified agent.remove_tags
array to remove one or more existing tags from the agent.add_tags
, remove_tags
, or both, depending on whether you want to add new tags, remove old ones, or perform both operations in a single request.agent_id
path parameter to identify the specific agent being updated.agent_id
, follow this guide:curl --location -g --request POST 'https:///v2/api/agent/0/annotate' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"add_tags": [
"Added Tags",
"Removed Tags"
],
"remove_tags": []
}'
{
"success": true,
"message": "Agent tags updated successfully",
"data": {}
}