Skip to content

`PUT /api/v1/agents/{node_id}/tags/{key}` — set a single tag.

PUT
/api/v1/agents/{node_id}/tags/{key}
curl --request PUT \
--url https://example.com/api/v1/agents/example/tags/example \
--header 'Content-Type: application/json' \
--data '{ "value": "example" }'
node_id
required
string

Agent node ID

key
required
string

Tag key

Media type application/json

Request body for PUT /api/v1/agents/{node_id}/tags/{key}.

object
value
required
string
Example generated
{
"value": "example"
}

Tag set

Invalid tag key or value

Agent not found