Elastic Agent actions

Bulk rollback agents

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/agents/bulk_rollback</span></div>

Refer to Spaces for more information.

Rollback multiple agents to the previous version.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.

post/api/fleet/agents/bulk_rollback

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/agents/bulk_rollback
  • Auth
    • API key in header Authorization
    • or HTTP basic

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

batchSizenumber
dryRunboolean
includeInactiveboolean

Response

OK: A successful request.

OR

Changes

No operation changes recorded.