Upgrade a package policy
Upgrade a package policy to a newer package version.
[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.
POST /api/fleet/package_policies/upgrade
curl \ --request POST 'https://<KIBANA_URL>/api/fleet/package_policies/upgrade' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --header "kbn-xsrf: true" \ --data '{"packagePolicyIds":["string"]}'