List ACLs
GET
/api/v1/clusters/{id}/acls
const url = 'http://localhost:8080/api/v1/clusters/example/acls';const options = {method: 'GET', headers: {cookie: 'brokerium_session=<brokerium_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/clusters/example/acls \ --cookie brokerium_session=<brokerium_session>Role: viewer.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”ACL bindings.
Media typeapplication/json
object
acls
Array<object>
object
resourceType
required
string
resourceName
required
string
patternType
required
string
principal
required
string
host
required
string
operation
required
string
permission
required
string
Example
{ "acls": [ { "resourceType": "TOPIC", "patternType": "LITERAL", "principal": "User:alice", "host": "*", "operation": "READ", "permission": "ALLOW" } ]}Apache®, Apache Kafka® and Kafka® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Brokerium is not affiliated with, endorsed by, or sponsored by the Apache Software Foundation.