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

# POST /list-gateways

`POST /list-gateways`

## Request body

- ListGateways
  - `json` boolean — Set output format to JSON
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

listGatewaysResponse wraps response body.

- GatewaysListResponse — GatewaysListResponse Gateway cluster identity list
  - `clusters` GwClusterIdentity[]
    - `action_allowed` boolean
    - `allowed` boolean
    - `allowed_access_ids` string[]
    - `cluster_name` string
    - `cluster_url` string
    - `current_gw` boolean
    - `customer_fragment_ids` string[] — Deprecated - use CustomerFragments instead
    - `customer_fragments` CfInfo[]
      - `cf_name` string
      - `description` string
      - `hash` string
      - `id` string
    - `default_protection_key_id` integer
    - `default_secret_location` string
    - `display_name` string
    - `id` integer
    - `is_kerberos_auth_enabled` boolean
    - `is_ldap_auth_enabled` boolean
    - `serverless_type` string
    - `status` string
    - `status_description` 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)
