# Unfollow a wallet address

![](https://2592634121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT5HLPrqZhkeNGgJP37dC%2Fuploads%2FAUGtACgsFsHyeTYxF2dX%2FScreen%20Shot%202022-07-06%20at%2014.11.29.png?alt=media\&token=81b781ea-526b-4295-a559-549768c84a29)

<mark style="color:red;">`DELETE`</mark> `http://localhost:5001/appgregator/us-central1/docial/wallet/follow/`

#### Query Parameters

| Name                                               | Type   | Description                                |
| -------------------------------------------------- | ------ | ------------------------------------------ |
| name<mark style="color:red;">\*</mark>             | String | qantor.co.id                               |
| connection\_name<mark style="color:red;">\*</mark> | String | docial-1                                   |
| my\_address<mark style="color:red;">\*</mark>      | String | 0x8A9d4F27dE4016892e7b7ABb0dC47BB7CE1e692E |
| target\_address<mark style="color:red;">\*</mark>  | String | 0x0bf8422f0a124e664f4ac2ec42cfe50afe8b8906 |

#### Headers

| Name                                        | Type   | Description                      |
| ------------------------------------------- | ------ | -------------------------------- |
| x-api-key<mark style="color:red;">\*</mark> | String | 43c464439b5507293ba7b315c9875907 |

{% tabs %}
{% tab title="200: OK Success" %}

```javascript
unfollowed
```

{% endtab %}

{% tab title="400: Bad Request You cannot unfollow yourself." %}

```javascript
You cannot unfollow yourself.
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```shell
curl --location --request DELETE 'https://us-central1-appgregator.cloudfunctions.net/docial/wallet/follow?name=qantor.co.id&connection_name=docial-1&my_address=0x8A9d4F27dE4016892e7b7ABb0dC47BB7CE1e692E&target_address=0x0bf8422f0a124e664f4ac2ec42cfe50afe8b8906' \
--header 'x-api-key: 43c464439b5507293ba7b315c9875907'
```

{% endtab %}

{% tab title="NodeJs - Axios" %}

```javascript
var axios = require('axios');

var config = {
  method: 'delete',
  url: 'https://us-central1-appgregator.cloudfunctions.net/docial/wallet/follow?name=qantor.co.id&connection_name=docial-1&my_address=0x8A9d4F27dE4016892e7b7ABb0dC47BB7CE1e692E&target_address=0x0bf8422f0a124e664f4ac2ec42cfe50afe8b8906',
  headers: { 
    'x-api-key': '43c464439b5507293ba7b315c9875907'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

```

{% endtab %}

{% tab title="PHP - cURL" %}

```php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/docial/wallet/follow?name=qantor.co.id&connection_name=docial-1&my_address=0x8A9d4F27dE4016892e7b7ABb0dC47BB7CE1e692E&target_address=0x0bf8422f0a124e664f4ac2ec42cfe50afe8b8906',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'DELETE',
  CURLOPT_HTTPHEADER => array(
    'x-api-key: 43c464439b5507293ba7b315c9875907'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

```

{% endtab %}
{% endtabs %}
