Method: projects.locations.clusters.acls.removeAclEntry

Incremental update: Removes an acl entry from an acl. Deletes the acl if its acl entries become empty (i.e. if the removed entry was the last one in the acl).

HTTP request

POST https://managedkafka.googleapis.com/v1/{acl=projects/*/locations/*/clusters/*/acls/**}:removeAclEntry

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
acl

string

Required. The name of the acl to remove the acl entry from. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/acls/{aclId}.

The structure of aclId defines the Resource Pattern (resourceType, resourceName, patternType) of the acl. See Acl.name for details.

Request body

The request body contains an instance of AclEntry.

Response body

Response for acls.removeAclEntry.

If successful, the response body contains data with the following structure:

JSON representation
{

  // Union field result can be only one of the following:
  "acl": {
    object (Acl)
  },
  "aclDeleted": boolean
  // End of list of possible types for union field result.
}
Fields
Union field result. The result of removing the acl entry, depending on whether the acl was deleted as a result of removing the acl entry. result can be only one of the following:
acl

object (Acl)

The updated acl. Returned if the removed acl entry was not the last entry in the acl.

aclDeleted

boolean

Returned with value true if the removed acl entry was the last entry in the acl, resulting in acl deletion.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.