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 |
Required. The name of the acl to remove the acl entry from. Structured like: The structure of |
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 |
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 |
The updated acl. Returned if the removed acl entry was not the last entry in the acl. |
aclDeleted |
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.