Spaces method and path for this operation:
post /s/{space_id}/api/fleet/agents/bulk_rollback
Refer to Spaces for more information.
Rollback multiple agents to the previous version.
[Required authorization] Route required privileges: fleet-agents-all.
POST
/api/fleet/agents/bulk_rollback
curl \
--request POST 'https://<KIBANA_URL>/api/fleet/agents/bulk_rollback' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"agents":["agent-1","agent-2"],"batchSize":100,"includeInactive":false}'
Request example
{
"agents": [
"agent-1",
"agent-2"
],
"batchSize": 100,
"includeInactive": false
}
Response examples (200)
{
"actionIds": [
"actionId1",
"actionId2"
]
}
Response examples (400)
{
"message": "Bad Request"
}