Elastic Package Manager (EPM)

Update package settings

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb put">put</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}</span></div>

Refer to Spaces for more information.

Update settings for a specific version of a package.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.

put/api/fleet/epm/packages/{pkgName}/{pkgVersion}

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/epm/packages/{pkgName}/{pkgVersion}
  • Auth
    • API key in header Authorization
    • or HTTP basic

Path parameters

pkgNamestring required

Package name

pkgVersionstring required

Package version

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

keepPoliciesUpToDateboolean
namespace_customization_enabled_forstring[]

Namespaces for which namespace-level customization is enabled on this package.

namespace_customization_settingsobject

Per-namespace managed settings (for example, ILM policy) for this package. Keyed by namespace name.

Response

Successful response

Changes