Elastic Agents

Update an agent by ID

Spaces method and path for this operation:

<div><span class="operation-verb put">put</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/agents/{agentId}</span></div>

Refer to Spaces for more information.

Update an agent by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.

put/api/fleet/agents/{agentId}

Path parameters

agentIdstring required

The agent ID

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

tagsstring[]
user_provided_metadataobject

Response

Successful response

Changes

Changed in 1 of the 92 revisions of this API.1

    • added the optional property item/policy_base_id to the response with the 200 status

      response-optional-property-added