Elastic Package Manager (EPM)
Delete a package
Changed onSpaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <span class="operation-path">/s/{space_id}/api/fleet/epm/packages/{pkgName}</span></div>Refer to Spaces for more information.
Uninstall a package and remove all its assets.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.
delete/api/fleet/epm/packages/{pkgName}
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/epm/packages/{pkgName}
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
pkgNamestring required
Package name
Query parameters
forceboolean
When true, delete the package even if it has active package policies
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Response
Successful response
Changes
- warning
for the
pathrequest parameterpkgName, the maxLength was set to255
- warning