This chapter introduces how to revoke privilege.
curl -u shiva:shiva -XDELETE "localhost:8902/hippo/v1/_security/acl/{user_name}?pretty" -H 'Content-Type: application/json' -d'
{
"table_name": "book",
"privileges": ["access"]
}';
Result:
{
"acknowledged" : true
}
Parameter description:
The parameters used when revoking privilege are the same as the ones used during grant operation.