# 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="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-3d54aef39dc6be0ddc88ae81679f4f225e8c76d8%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>
