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

# POST /list-gateways

`POST /list-gateways`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/list-gateways`
- Auth: none declared

## 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.dev/akeyless/apis/infrastructure-connectivity.md) - [All operations](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/revisions/62dc62fea89d?raw)
