# Unbind Address

## <mark style="color:green;">POST</mark> /api/v1/unbindAddress

* Note: It is for a user to unbind an address that was binded before.
* Header

| Field         | Type   | Remarks                                                                                           |
| ------------- | ------ | ------------------------------------------------------------------------------------------------- |
| ApiKey        | String | [ApiKey](/relation-one-api/guide/glossary.md#apikey) acquired from the admin                      |
| Authorization | String | Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is the result returned by /api/v1/auth |

* Request Parameters

| Field   | Type   | Remarks      |
| ------- | ------ | ------------ |
| address | String | web3 address |

* Request Example

```shell
curl  POST 'https://api.relationlabs.ai/api/v1/unbindAddress' \
--header 'ApiKey: <ApiKey>' \
--header 'Authorization: bearer eyJhbGciOiJFUzI1NiJ9.eyJqdGkiOiIxNDUwM2VlYjhhMTk0OWE1YWMzODQ1NGM2YjQwZGExNyIsImlzcyI6InJlbGF0aW9ubGFicy5haSIsImlhdCI6MTY2MTMyNzUxNSwic3ViIjoiYmFmMzQta2lhYWEtYWFhYWstYWNnamEtY2FpIiwiZXhwIjoxNjYxOTMyMzE1fQ.m4CYvKS_9hhabSThIydWRMAGCWhw9S-3Vi9KZmK6fUig2edt1gkw_swkBwkeL7aUSi08RPEozjZ3iwkW-4YRZw' \
--header 'Content-Type: application/json' \
--data-raw '{
    "address":"0x9bd286ef4e3d9ec1af6c6ae9da2f0b3617deab13"
}'
```

* Response Parameters

| Field | Type   | Remarks            |
| ----- | ------ | ------------------ |
| code  | String | the Return Code    |
| desc  | String | the Return Message |
| data  | Object | the Data           |

* Response Body

```json
{
    "code": "0",
    "desc": "success",
    "data": null
}
```

* Return Code

| code  | desc                   | Remarks                                     |
| ----- | ---------------------- | ------------------------------------------- |
| 0     | success                | the flag for a successful request           |
| 11202 | address is not binded  | This address is not binded yet.             |
| 11203 | not the address holder | This address does not belong to the caller. |


---

# 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://relationlabs.gitbook.io/relation-one-api/api/profile/unbind-address.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.
