GET /api/v1/policies

Changed on

List of policies

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-Auth-Token
    • or API key in header St2-Api-Key
    • or API key in query parameter x-auth-token
    • or API key in query parameter st2-api-key
    • or API key in header auth-token

Query parameters

exclude_attributesstring[]

List of attributes to exclude

include_attributesstring[]

List of attributes to include

packstring

Policies pack

namestring

Policies name

limitinteger

Number of policies to get

offsetinteger

Number of policies to offset

Response

Policy list

PolicyList[] required

Changes

    • info

      added the new optional query request parameter exclude_attributes

    • info

      added the new optional query request parameter include_attributes