DROP ROLE

DROP ROLE removes a role from Materialize.

Syntax

DROP ROLE IF EXISTS role_name
Field Use
IF EXISTS Do not return an error if the specified role does not exist.
role_name The role you want to drop. For available roles, see mz_roles.

Details

You cannot drop the current role.

Privileges

The privileges required to execute this statement are:

  • CREATEROLE privileges on the system.
Back to top ↑