Updated at September 7, 2026 01:25 PM
box.schema.role.revoke()
Revoke privileges from a role.
Parameters:
role-name(string) — the name of the rolepermissions(string) — one or more permissions to revoke from the role (for example,readorread,write)object-type(string) — a database object type to revoke permissions from (for example,space,role, orfunction)object-name(string) — the name of a database object to revoke permissions from
The role must exist, and the object must exist, but it is not an error if the role does not have the privilege.
Variation: instead of object-type, object-name say universe, which means 'all object-types and all objects'.
Variation: instead of permissions, object-type, object-name say role-name.
See also: access_control_roles.