diff --git a/docs/security/access-control.md b/docs/security/access-control.md index 7e996738cb6..681ec4752d5 100644 --- a/docs/security/access-control.md +++ b/docs/security/access-control.md @@ -817,7 +817,7 @@ curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \ ```java GravitinoClient client = ... -Group group = client.grantRolesToGroup(Lists.newList("role1"), "group1"); +Group group = client.revokeRolesFromGroup(Lists.newList("role1"), "group1"); ```