Delete a package policy
- Base URL
-
https://{kibana_url}
- DELETE /api/fleet/package_policies/{packagePolicyId}
- DELETE /s/{space_id}/api/fleet/package_policies/{packagePolicyId}
Delete a package policy by ID.
https://{kibana_url}
Delete a package policy by ID.
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
onboarding_deployment_id
string · max length: 256
ID of the cloud onboarding instance that manages the package policies. Required to change package policies managed by a cloud onboarding instance; only the onboarding flow is expected to set it. Requests that change a managed package policy without a matching ID are rejected with a 400 error, and force does not bypass this check. A bulk delete that includes such a package policy is rejected as a whole.
https://{kibana_url}