---
title: "POST /gateway-get-allowed-access"
method: POST
path: "/gateway-get-allowed-access"
tags: ["Gateway"]
---

# POST /gateway-get-allowed-access

`POST /gateway-get-allowed-access`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/gateway-get-allowed-access`
- Auth: none declared

## Request body

- GatewayGetAllowedAccess: gatewayGetAllowedAccess is a command that gets allowed access from gateway
  - `json` boolean: Set output format to JSON
  - `name` string, required: Allowed access name
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayGetAllowedAccessResponse wraps response body.

- AllowedAccess
  - `access_id` string
  - `access_type` string
  - `cluster_id` integer
  - `created_at` string, date-time
  - `description` string
  - `editable` boolean
  - `error` string
  - `id` integer
  - `is_valid` boolean
  - `name` string
  - `permissions` AccessPermission[]
  - `sub_claims` object
  - `sub_claims_case_insensitive` boolean
  - `updated_at` string, date-time

## 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)
