---
title: "POST /policy-list"
method: POST
path: "/policy-list"
tags: ["v2"]
---

# POST /policy-list

`POST /policy-list`

## Request body

- PoliciesList
  - `aggregate` boolean — Aggregate missing configurations from parent policies (requires --paths)
  - `json` boolean — Set output format to JSON
  - `object-type` string[] — Optional object types filter (items or targets)
  - `paths` string[] — Filter by exact policy paths
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `types` string[] — Filter by policy types
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

- PoliciesListOutput
  - `policies` PolicyOutput[]
    - `account_id` string
    - `allowed_algorithms` string[]
    - `allowed_key_names` string[]
    - `allowed_key_types` KeyType[]
    - `id` string
    - `max_rotation_interval_days` integer
    - `object_types` string[]
    - `path` string
    - `type` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
