Elastic Agent actions
Upgrade an 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}/upgrade</span></div>Refer to Spaces for more information.
Upgrade a specific agent to a newer version.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
post/api/fleet/agents/{agentId}/upgrade
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
object required
Changes
No changes recorded. 20 of the 176 revisions have no diff computed, so they could not be searched.