# /unregister

You can use this command to disconnect an ally code from a Discord user.

This will discontinue the use of many of EchoBase's features for your user, including assignment DMs, the setting of donation preferences, and many others.

#### /unregister player <a href="#player" id="player"></a>

To unregister yourself, simply provide your ally code.

By providing a @mention, you can unregister *someone else*. Please note that this will require the appropriate Echo Role.

| Parameters              | Example                                                               | Help                                |
| ----------------------- | --------------------------------------------------------------------- | ----------------------------------- |
| ally-code, discord-user | /unregister player `ally-code:` 111-222-333 `discord-user:` @Somebody | /help `command:` /unregister player |

{% hint style="info" %}
**NOTE:** Unregistering someone is not the same as removing them from your guild. The list of players that are in your guild is completely driven by the data API and cannot be manually manipulated. If your guild data is out of sync, try using the [forceguildsync command](https://docs.echobase.app/echostation/guild-commands/forceguildsync).
{% endhint %}

## Global Discord Registry <a href="#global-discord-registry" id="global-discord-registry"></a>

EchoBase is a participant in the global Discord registry, which is hosted by <https://swgoh.help>. This means that by unregistering your ally code/Discord user via EchoBase, you are automatically unregistered for **all** of the other tools that participate in the global registry. Please make sure that is what you want before executing this command.

## Legacy Command

**`eb.{allyCode}.unregister`**

| **Parameters** | **Options**  | **Example**                                        | Shortcut                                   |
| -------------- | ------------ | -------------------------------------------------- | ------------------------------------------ |
| ally code      | -            | **`eb.123456789.unregister`**                      | **`eb.123456789.ur`**                      |
| ​ally code     | @mention     | **`eb.123456789.unregister @mention`**             | **`eb.123456789.ur @mention`**             |
| ​ally code     | <@discordId> | **`eb.123456789.unregister <@12345678987654321>`** | **`eb.123456789.ur <@12345678987654321>`** |
| -              | help         | **`eb.help unregister`**                           | **`eb.help ur`**                           |

{% hint style="warning" %}
Unregistering someone else via the **@mention** option is restricted to those with an [Echo Role](https://docs.echobase.app/echostation/echo-roles) only.
{% endhint %}
