Delete package
Spaces method and path for this operation:
delete /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}
Refer to Spaces for more information.
Query parameters
-
delete package even if policies used by agents
-
Ignore if the package is fails signature verification
-
Return all fields from the package manifest, not just those supported by the Elastic Package Registry
-
Whether to return prerelease versions of packages (e.g. beta, rc, preview)
Default value is
false.
DELETE
/api/fleet/epm/packages/{pkgName}/{pkgVersion}
curl \
--request DELETE 'https://localhost:5601/api/fleet/epm/packages/{pkgName}/{pkgVersion}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: string" \
--data '{"force":true}'