Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 690 Bytes

drop-user.rst

File metadata and controls

40 lines (26 loc) · 690 Bytes

DROP USER

Drop an existing database user.

Table of contents

DROP USER [ IF EXISTS ] username;

DROP USER is a management statement to remove an existing database user from the CrateDB cluster.

For usage of the DROP USER statement see :ref:`administration_user_management`.

IF EXISTS:

Do not fail if the user doesn't exist.

username:

The unique name of the database user to be removed.

The name follows the principles of a SQL identifier (see :ref:`sql_lexical_keywords_identifiers`).