# Delete End User

Remove an end user once their connections are gone.

`DELETE https://connect.mindcloud.co/v2/embedded/end-users/:endUserId`

Permissions: `embedded:delete`.

## Parameters

### Path

- `endUserId` (string, required): The end user's id, from List End Users or Create End User.

## Example request

```bash
curl --request DELETE \
  --url 'https://connect.mindcloud.co/v2/embedded/end-users/enduser_GhSUEYhipn4g' \
  --header 'Authorization: Bearer $MINDCLOUD_API_TOKEN'
```

## Response fields

- `id` (string): The id of the resource that was deleted.

## Example response

```json
{
  "success": true,
  "data": {
    "id": "enduser_GhSUEYhipn4g"
  }
}
```

## Errors

- 409 Still in use: `CONFLICT` / `END_USER_IN_USE` "This end user still has 2 connection(s), 0 installation(s), and 0 member(s) mapped to it. Delete its connections (DELETE /v2/connections/{connectionId}) and remove its installations first."
