# 4. Stop Profile

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

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

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

* Curl example

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

* Javascript example

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

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

**Success response - `Success 200`**

<table><thead><tr><th width="150">Name</th><th width="190.2931158410064">Type</th><th>Description</th></tr></thead><tbody><tr><td>port</td><td><code>Number</code></td><td>PORT auto</td></tr><tr><td>wsUrl</td><td><code>String</code></td><td>Used to integrate Puppeteer</td></tr></tbody></table>

### <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": {}
}
```
