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}</span></div>

Refer to Spaces for more information.

Update settings for a package, such as whether policies are kept up to date automatically.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.

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

Request

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

Path parameters

pkgNamestring required

Package name

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

    • warning

      for the path request parameter pkgName, the maxLength was set to 255

    • info

      added the optional property to the response with the status