Reassign an agent
Server:
https://{kibana_url}
- POST /api/fleet/agents/{agentId}/reassign
- POST /s/{space_id}/api/fleet/agents/{agentId}/reassign
Refer to Spaces for more information.
Reassign an agent to a different agent policy.
[Required authorization] Route required privileges: fleet-agents-all.
Path Parameters
-
agentIdstringrequired -
The agent ID
Responses
Successful response
Response Type: object
Bad Request
-
attributesobjectrequired -
errorstring -
errorTypestring -
messagestringrequired -
statusCodenumber