Update an agent by ID
Update an agent by ID.
[Required authorization] Route required privileges: fleet-agents-all.
PUT
/api/fleet/agents/{agentId}
curl \
--request PUT 'https://localhost:5601/api/fleet/agents/{agentId}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"tags":["string"],"user_provided_metadata":{}}'