Fleet package policies

Create a package policy

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/package_policies</span></div>

Refer to Spaces for more information.

Create a new package policy and assign it to an agent policy.

post/api/fleet/package_policies

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/package_policies
  • Auth
    • API key in header Authorization
    • or HTTP basic

Query parameters

format'simplified' | 'legacy'

Format for the response: simplified or legacy

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

OR

Response

Successful response

Changes

No operation changes recorded.