Migrate a single agent

Base URL
https://{kibana_url}
Auth

Migrate a single agent to another cluster.

Required authorization

Privileges fleet-agents-all

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

agentId string · min length: 0 required

The agent ID

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

enrollment_token string required
settings object
ca_sha256 string
certificate_authorities string
elastic_agent_cert string
elastic_agent_cert_key string
elastic_agent_cert_key_passphrase string
headers map string to string
insecure boolean
proxy_disabled boolean
proxy_headers map string to string
proxy_url string
replace_token string
staging string
tags string[] · max items: 10
uri string · format: uri required

Responses

Successful response

application/json
actionId string required

Bad Request

application/json
attributes object required
error string
errorType string
message string required
statusCode number
Base URL
https://{kibana_url}