# Delete

## Delete End User

<mark style="color:red;">`DELETE`</mark> `https://api.explo.co/api/delete_end_user/`

This endpoint deletes an existing user group.

#### Path Parameters

| Name                                                  | Type   | Description                                                                                                      |
| ----------------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------- |
| Explo-Authorization<mark style="color:red;">\*</mark> | string | API authorization token which is unique to your team. You can access this in the Developers tab in your account. |

#### Request Body

| Name                                                   | Type   | Description                                          |
| ------------------------------------------------------ | ------ | ---------------------------------------------------- |
| provided\_id<mark style="color:red;">\*</mark>         | string | The ID of the end user you provided in creation      |
| end\_user\_group\_id<mark style="color:red;">\*</mark> | number | The ID of the end user group the end user belongs to |

{% tabs %}
{% tab title="200 " %}
```
{
    "success": 1
}
```
{% endtab %}
{% endtabs %}

**Response field descriptions**

| Field Name | Type   | Description                                                           |
| ---------- | ------ | --------------------------------------------------------------------- |
| success    | number | Indicates whether the call was successful. 1 if successful, 0 if not. |

#### Example Request

```
curl --location --request DELETE 'https://api.explo.co/api/delete_end_user/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
    "provided_id": "example_1"
    "end_user_group_id": 123
}'
```
