Bulk get package policies

POST /api/fleet/package_policies/_bulk_get

Spaces method and path for this operation:

post /s/{space_id}/api/fleet/package_policies/_bulk_get

Refer to Spaces for more information.

Query parameters

  • format string

    Simplified or legacy format for package inputs

    Values are simplified or legacy.

application/json

Body

  • ids array[string] Required

    list of package policy ids

  • ignoreMissing boolean

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • items array[object] Required
      Hide items attributes Show items attributes object
      • id string Required
      • inputs array | object

      • inputs array[object] Required
        Hide inputs attributes Show inputs attributes object
        • config object
        • enabled boolean Required
        • processors array[string]
        • streams array
        • type string Required
        • vars object
      • revision number Required
      • description string
      • enabled boolean
      • name string Required
      • namespace string
      • output_id string
      • overrides object
      • package object
        Hide package attributes Show package attributes object
        • name string Required
        • requires_root boolean
        • title string
        • version string Required
      • policy_id string | null Deprecated
      • policy_ids array[string]
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
POST /api/fleet/package_policies/_bulk_get
curl \
 --request POST 'http://localhost:5601/api/fleet/package_policies/_bulk_get' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"ids":["string"],"ignoreMissing":true}'