# Removing Addresses

### Removing Addresses

To remove an `Associated Address` from a user's EIN, call the `removeAssociatedAddressDelegated` function on the Identity Registry smart contract.

To prevent malicious removal of an `Associated Address` for an `EIN`, removing addresses requires a signature from the address to be removed. Signatures should follow the example format:

```
bytes32 messageHash = keccak256(
    abi.encodePacked(
        "I authorize removing this address from my Identity.", address(this), ein, addressToRemove, timestamp
    )
);
```

**ARGUMENTS**

| Parameter               | Type                          | Description                                               |
| ----------------------- | ----------------------------- | --------------------------------------------------------- |
| `addressToRemove`       | `address`                     | The address being removed from a user's `EIN`.            |
| `r`, `s`, `v` signature | `bytes32`, `bytes32`, `uint8` | Signed message as required in the format above.           |
| `timestamp`             | `uint`                        | Timestamp of the function call to prevent replay attacks. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hydro.gitbook.io/docs/snowflake/address-management/address-management-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
