Restart an agent
Unreleased This version is not released yet and can change. View the latest version (v9)
- Base URL
-
https://{kibana_url}
- POST /api/fleet/agents/{agentId}/restart
- POST /s/{space_id}/api/fleet/agents/{agentId}/restart
Unreleased This version is not released yet and can change. View the latest version (v9)
https://{kibana_url}
Restart an Elastic Agent. The request fails when the agent is inactive, on a version earlier than 9.6.0, or enrolled in a hosted agent policy. It also fails with a 409 when the agent already has a pending restart action, unless force is set.
fleet-agents-all
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.
A bad request.
https://{kibana_url}