Migrate a single agent
- Base URL
-
https://{kibana_url}
- POST /api/fleet/agents/{agentId}/migrate
- POST /s/{space_id}/api/fleet/agents/{agentId}/migrate
Migrate a single agent to another cluster.
Required privileges
fleet-agents-all
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.