> For the complete documentation index, see [llms.txt](https://docs.hidemyacc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hidemyacc.com/11.-hidemyacc-2.0-instructions/11.9.-hidemyacc-2.0-api/profile/5.-delete-profile.md).

# 5. Delete Profile

### <mark style="background-color:yellow;">Delete Profile</mark>

```
POST http://127.0.0.1:12368/profiles/delete/:id
```

### <mark style="background-color:yellow;">Examples</mark>

* Curl example

```
curl -X POST http://127.0.0.1:12368/profiles/delete/615d6c4b2a151505fe6ba060
```

* Javascript example

```
const hidemyacc = new Hidemyacc();
const user = await hidemyacc.delete("615d6c4b2a151505fe6ba060");
```

### <mark style="background-color:yellow;">Success response example</mark>

**Success response example - `Success-Example`**

```
HTTP/1.1 200 OK
    {
        "code": 1
    }
```

### <mark style="background-color:yellow;">Error response</mark>

**Error response - `Error 4xx`**

| Name | Type | Description             |
| ---- | ---- | ----------------------- |
| 401  |      | Not logged into account |

### <mark style="background-color:yellow;">Error response example</mark>

**Error response example - `Response (example):`**

```
HTTP/1.1 401 Not Authenticated
{
  "code": 0,
  "message": "Unauthorized",
  "data": {}
}
```
