Elastic Package Manager (EPM)
Install a package from the registry
Changed onSpaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/epm/packages/{pkgName}</span></div>Refer to Spaces for more information.
Install the latest version of a package from the Elastic Package Registry.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.
post/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
prereleaseboolean
When true, allow installing prerelease versions
ignoreMappingUpdateErrorsboolean
When true, ignore mapping update errors during installation
skipDataStreamRolloverboolean
When true, skip data stream rollover after installation
skipDependencyCheckboolean
Skip dependency validation when installing a package with dependencies
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response
Changes
- warning
for the
pathrequest parameterpkgName, the maxLength was set to255
- warning
- info
added the new optional request property
/
- info