531c9e2a7d23

OpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Fleet package policies

Dry run a package policy upgrade

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/package_policies/upgrade/dryrun</span></div>

Refer to Spaces for more information.

Preview the changes that would be applied by upgrading a package policy to a newer package version.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read AND integrations-read.

post/api/fleet/package_policies/upgrade/dryrun

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

packagePolicyIdsstring[] required
packageVersionstring

Response

Successful response

hasErrorsboolean required
namestring
statusCodenumber