---
title: "List a consumer's access"
method: GET
path: "/apiops/projects/{projectName}/consumers/{consumerKey}/access"
tags: ["Consumer"]
---

# List a consumer's access

`GET /apiops/projects/{projectName}/consumers/{consumerKey}/access`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/consumers/{consumerKey}/access`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/consumers/:consumerKey/access/get.ts> (a function with typed inputs; its response is checked against the schema)

The API proxies and API proxy groups of the project the consumer may call, by name.

## Path parameters

- `projectName` string, required
- `consumerKey` string, required

## Response `200`

OK

- ApiOpsConsumerAccessDTO[]
  - `name` string
  - `type` 'API_PROXY' | 'API_PROXY_GROUP'
  - `expireTime` string, date-time: Optional expiration time for the access grant
  - `environments` Environment[]: Environments of the project and whether the row may be called there. On a write, a listed environment is set; an unlisted one keeps its stored value (a new grant: enabled).
    - `name` string
    - `acknowledged` boolean
    - `detail` string
  - `disallowedEndpoints` ApiProxyEndpointIdentifierDTO[]: API_PROXY rows only: endpoints (name = REST path or SOAP operation, httpMethod) the consumer may not call. On a write, a sent list replaces the stored one.
    - `name` string
    - `httpMethod` 'GET' | 'POST' | 'PUT' | 'HEAD' | 'OPTIONS' | 'DELETE' | 'PATCH' | 'TRACE' | 'ALL' | 'QUERY'
  - `disallowedApiProxies` string[]: API_PROXY_GROUP rows only: names of the group's API proxies the consumer may not call. On a write, a sent list replaces the stored one.

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
