Service:_Kafka

Add a Kafka-native ACL entry

Changed on
post/project/{project}/service/{service_name}/kafka/acl

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/project/{project}/service/{service_name}/kafka/acl
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: services:write

Path parameters

projectstring required

Project name

service_namestring required

Service name

Request body

hoststring

the host or * for all hosts

operation'All' | 'Alter' | 'AlterConfigs' | 'ClusterAction' | 'Create' | 'CreateTokens' | 'Delete' | 'Describe' | 'DescribeConfigs' | 'DescribeTokens' | 'IdempotentWrite' | 'Read' | 'Write' required

Operation a Kafka-native ACL grants or denies permission to perform.

pattern_type'LITERAL' | 'PREFIXED' required

How a Kafka-native ACL matches its resource name.

permission_type'ALLOW' | 'DENY' required

Whether a Kafka-native ACL allows or denies its operation.

principalstring required

principal is in 'PrincipalType:name' format

resource_namestring required

Resource pattern used to match specified resources

resource_type'Topic' | 'Group' | 'Cluster' | 'TransactionalId' | 'DelegationToken' | 'User' required

Type of resource a Kafka-native ACL can be applied to.

Response

Response

messagestring required

Printable result of the request

Changes

    • warning

      removed the optional property from the response with the status

    • info

      the request property default value * was added

    • info

      the request property default value LITERAL was removed

    • info

      the request property default value ALLOW was removed

    • info

      the response property became required for the status

    • info

      the request property default value LITERAL was added

    • info

      the request property default value ALLOW was added