> ## Documentation Index
> Fetch the complete documentation index at: https://risingwavelabs-wyx-add-timestamp-dedicated-page.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DROP USER

> Use the `DROP USER` command to remove a user from RisingWave.

## Syntax

```sql theme={null}
DROP USER [ IF EXISTS ] user_name [ , ... ];
```

## Parameters

| Parameter     | Description                                                                                                                                                                                                                       |
| :------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **IF EXISTS** | Do not return an error if the specified user does not exist.                                                                                                                                                                      |
| *user\_name*  | The user you want to drop.  - You cannot drop the current user;  - To drop a superuser (user with the SUPERUSER privilege), you must be a superuser yourself;  - To drop a non-superuser, you must have the CREATEUSER privilege. |

## Examples[](#examples "Direct link to Examples")

The following statement removes the user with the name "user1".

```sql theme={null}
DROP USER user1;
```
