Revoking roles

Use revoke role to revoke roles from users and other roles:

revoke role role_name [{, role_name}...]from grantee [{, grantee}...]

where:

All roles listed in the revoke statement are revoked from all grantees.

You cannot revoke a role from a user while the user is logged in.