List Policies

GET /v2/policies

Required Permissions

NameConditions

Policies:Read

Always Required

Query parameters

Query paramRequired/OptionalDescription

limit

Positive Integer - Optional

Maximum number of items to return. Default to 20.

paginationToken

String - Optional

Opaque token used to retrieve the next page. Returned as nextPageToken from the previous request.

status

String - Optional

Either Active or Archived.

Response

200 - List of policies

See Get Policy response body for more details on the shape of one policy object

{
  "items": [
    {
      "id": "plc-...1",
      ...
    },
    {
      "id": "plc-...2",
      ...
    }
  ],
  "nextPageToken": "ZxZ..."
}

Last updated