> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/clearlines-functions/user-management-functions/removeuser.md).

# REMOVEUSER

Removes a user from the current workspace.

#### Syntax

**REMOVEUSER**(*email*)

* *email* - the email address of the user to remove - ***Value type**: text*

#### Remarks

* The function removes the user, identified with *email*, from the current workspace.
* If the function execution was not successful, it returns !ERROR. This could happen in these cases:
  * The function has been executed by a user who doesn’t have the *Admin* role assigned.
  * There is no user with the specified *email* in the same or another workspace.

#### Example

Clicking on the "Remove user" button removes the user Jim Miller from the current workspace.&#x20;

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/0cqupuwcz1mtf6aPot0y/grafik.png" alt=""><figcaption></figcaption></figure>
