REMOVE ROLE

Syntax

REMOVE ROLE role_name

Privileges

USERADMIN

Description

The REMOVE ROLE command permanently deletes the role_name from the server. The role is also removed from users, privileges, and IP restrictions tables as a side effect.

Return

OK string or error value (see SCSP protocol).

Example

> REMOVE ROLE role1
OK