Update an agent by ID
Spaces method and path for this operation:
put /s/{space_id}/api/fleet/agents/{agentId}
Refer to Spaces for more information.
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":{}}'