---
title: "List ACLs"
method: GET
path: "/kafka/v3/clusters/{cluster_id}/acls"
tags: ["ACL (v3)"]
---

# List ACLs

`GET /kafka/v3/clusters/{cluster_id}/acls`

[![Generally Available](https://img.shields.io/badge/Lifecycle%20Stage-Generally%20Available-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)
- When calling `/acls` without the `principal` parameter, service
  accounts are returned in numeric ID format (e.g., `User:12345`).
- To retrieve service accounts in the `sa-xxx` format, use
  `/acls?principal=UserV2:*`.
- The `principal` parameter supports both legacy `User:` format and
  new `UserV2:` format for service accounts.
Return a list of ACLs that match the search criteria.

## Query parameters

- `resource_type` 'UNKNOWN' | 'ANY' | 'TOPIC' | 'GROUP' | 'CLUSTER' | 'TRANSACTIONAL_ID' | 'DELEGATION_TOKEN'
- `resource_name` string
- `pattern_type` string
- `principal` string
- `host` string
- `operation` string
- `permission` string

## Response `200`

The list of ACLs.

- AclDataList
  - `kind` string, required
  - `metadata` ResourceCollectionMetadata, required
    - `self` string, required
    - `next` string, nullable
  - `data` AclData[], required
    - `kind` string, required
    - `metadata` ResourceMetadata, required
      - `self` string, required
      - `resource_name` string, nullable
    - `cluster_id` string, required
    - `resource_type` 'UNKNOWN' | 'ANY' | 'TOPIC' | 'GROUP' | 'CLUSTER' | 'TRANSACTIONAL_ID' | 'DELEGATION_TOKEN', required
    - `resource_name` string, required
    - `pattern_type` string, required
    - `principal` string, required
    - `host` string, required
    - `operation` string, required
    - `permission` string, required

## Other responses

- `400` — Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure.
- `401` — Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
- `403` — Indicates a client authorization error. Kafka authorization failures will contain error code 40301 in the response body.
- `429` — Indicates that a rate limit threshold has been reached, and the client should retry again later.
- `5XX` — A server-side problem that might not be addressable from the client side. Retriable Kafka errors will contain error code 50003 in the response body.

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/confluent/apis/confluent-cloud-apis/revisions/83f5e4fbfe08?raw)
