---
title: "GET /public/v1/clusters/{clusterName}/service-accounts/{aclPrincipal}"
method: GET
path: "/public/v1/clusters/{clusterName}/service-accounts/{aclPrincipal}"
tags: ["service-accounts"]
---

# GET /public/v1/clusters/{clusterName}/service-accounts/{aclPrincipal}

`GET /public/v1/clusters/{clusterName}/service-accounts/{aclPrincipal}`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/v1/clusters/{clusterName}/service-accounts/{aclPrincipal}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/v1/clusters/:clusterName/service-accounts/:aclPrincipal/get.ts> (a function with typed inputs; its response is checked against the schema)

Get acls for a given service account

## Path parameters

- `clusterName` string, required
- `aclPrincipal` string, required

## Response `200`

- AclBinding[]
  - `pattern` ResourcePattern, required
    - `resourceType` 'Unknown' | 'Topic' | 'Group' | 'Cluster' | 'TransactionalId' | 'DelegationToken' | 'User', required
    - `name` string, required
    - `patternType` 'Literal' | 'Prefixed', required
  - `entry` AccessControlEntry, required
    - `principal` AclPrincipal, required
      - `type` string, required
      - `name` string, required
    - `host` string, required
    - `operation` 'Unknown' | 'All' | 'Read' | 'Write' | 'Create' | 'Delete' | 'Alter' | 'Describe' | 'ClusterAction' | 'DescribeConfigs' | 'AlterConfigs' | 'IdempotentWrite' | 'CreateTokens' | 'DescribeTokens' | 'TwoPhaseCommit', required
    - `permissionType` 'Deny' | 'Allow', required

## Other responses

- `400`: Invalid value
- `401`: The user is not authenticated
- `403`: The user doesn't have the required permission(s) "kafka.clusters.acl.read" to do this operation
- `404`: No cluster with this technical id exist
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
