Elastic Agents
Migrate a single agent
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/{agentId}/migrate</span></div>Refer to Spaces for more information.
Migrate a single agent to another cluster.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
post/api/fleet/agents/{agentId}/migrate
Path parameters
agentIdstring required
The agent ID
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response
Changes
No changes recorded. 20 of the 176 revisions have no diff computed, so they could not be searched.