> 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/nedyx/clearlines-functions/user-management-functions/removeuser.md).

# REMOVEUSER

#### 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.

<figure><img src="/files/SmLfunCy48KTxNiaHEoX" alt=""><figcaption></figcaption></figure>
