DROP USER

Syntax

DROP USER 'email_address';

Description

Drops a User from the Organization.

Users can only be dropped by a Role with MANAGE_MEMBERS privilege.

Arguments

email_address

The email address of the user to drop from the current Organization.

Examples

Drop a User

The following drops the User with email delta@deltastream.io:

demodb.public/demostore# SHOW USERS;
+-------------+--------------+-------------+----------------------+------------+
|  Given Name |  Family Name |  Is Current |  Email               |  Locale    |
+=============+==============+=============+======================+============+
| Delta       | Stream       | false       | delta@deltastream.io | en         |
+-------------+--------------+-------------+----------------------+------------+
| Admin       | Stream       | true        | admin@deltastream.io | en         |
+-------------+--------------+-------------+----------------------+------------+
demodb.public/demostore# DROP USER 'delta@deltastream.io';
+------------+----------------------+------------+------------------------------------------+
|  Type      |  Name                |  Command   |  Summary                                 |
+============+======================+============+==========================================+
| user       | delta@deltastream.io | DROP       | user delta@deltastream.io was dropped    |
|            |                      |            | from the organization                    |
+------------+----------------------+------------+------------------------------------------+

Last updated