REVOKE ROLE
Syntax
Copy
REVOKE ROLE role_name [, ...]
[
FROM USER user_email
| FROM ROLE role_name [, ...]
];Description
Revoke access to role(s) from a user or other role(s). This prevents a user from USE ROLE and removes all the privileges previously granted to the role, respectively.
The current role requires one of the following privileges:
Ownership of organization
MANAGE_MEMBERSprivilege on organizationOWNERprivilege on both parent and child roles (when revoking from role(s))
Arguments
role_name [, role_name...]
One or more roles to revoke.
user_email
Email of the user from whom you are revoking roles.
role_name [, role_name...]
One or more roles that are revoked from role(s).
Examples
Revoke role from a user
Revoke role from another role
Last updated

