# Delete a Wallet

To delete a wallet, send a DELETE request to the `/wallet/<wallet_name>` endpoint.

## Delete a wallet

<mark style="color:red;">`DELETE`</mark> `https://api.playfix.io/wallet/<wallet_name>`

#### Path Parameters

| Name                                           | Type   | Description                                                                                                                                        |
| ---------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| wallet\_name<mark style="color:red;">\*</mark> | String | Name of the wallet to delete. This should be the value of `name` from a previously created wallet. It begins with "`wallets/`" followed by a ULID. |

#### Headers

| Name                                            | Type   | Description                          |
| ----------------------------------------------- | ------ | ------------------------------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer \<your\__access\__&#x74;oken> |

{% tabs %}
{% tab title="200: OK Wallet is successfully deleted." %}
```json
{

}
```
{% endtab %}
{% endtabs %}

#### **Example cURL API Call**

```shell
curl --request DELETE \
  --url 'https://api.playfix.io/wallet/<wallet_name>' \
  --header 'Authorization: Bearer <your_access_token>'
```

#### **Example Python API Call**

```python
import requests

r = requests.delete(
    "https://api.playfix.io/wallet/<wallet_name>",
    headers = {
        "Authorization": "Bearer <your_access_token>"
        }
    )

print(r.text)
```

#### **Response**

```
{

}
```

The response is an empty object, indicating that the project has been deleted successfully.
