> For the complete documentation index, see [llms.txt](https://docs.conscent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.conscent.ai/integrating-with-apis/delete-user.md).

# Delete User

## The client can cancel the active subscriptions for a user

<mark style="color:green;">`DELETE`</mark> `{API_URL}/client/delete-user?userId=6764322345768765998778`

Auth required: YES

Please pass your API key as the username and API secret as the password as basic auth to access the endpoint. (Pick this from Conscent Dashboard)

{% hint style="info" %}
The userId will be of Conscent (Pick this from local storage)
{% endhint %}

| Parameter | Description                     |
| --------- | ------------------------------- |
| userId    | Unique Id assigned to each user |

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

```json
{
    "message": "User Deleted Successfully.",
    "data": {
        "email": "671a2abe671706f42753f892@deleted.deleted",
        "phoneNumber": "671a2abe671706f42753f892PhoneDeleted"
    }
}
```

{% endtab %}
{% endtabs %}
