> For the complete documentation index, see [llms.txt](https://hdsd2.entrade.com.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hdsd2.entrade.com.vn/entrade-api/tai-lieu-api-cu/5.-tu-dong-hoa-avatar-bot/5.5.-dung-bot-tat-toan-bot.md).

# 5.5. Dừng bot (Tất toán bot)

<table><thead><tr><th width="410">URL</th><th>Method</th></tr></thead><tbody><tr><td><a href="https://services.entrade.com.vn/bot-api/bots/%3Cbot_id%3E">https://services.entrade.com.vn/bot-api/bots/%3Cbot_id%3E</a></td><td>DELETE</td></tr></tbody></table>

#### Path parameters

| Field   | Type        | Description |
| ------- | ----------- | ----------- |
| bot\_id | <p><br></p> | Số hiệu bot |

#### Request header

| Field         | Type        | Description                         |
| ------------- | ----------- | ----------------------------------- |
| Authorization | <p><br></p> | Bearer \<JWT Token>                 |
| Trading-Token | <p><br></p> | Token được cấp sau khi xác thực OTP |

#### Request Body

| Field | Type        | Description |
| ----- | ----------- | ----------- |
| N/A   | <p><br></p> | <p><br></p> |

#### Response Body

| Field             | Type        | Description                                   |
| ----------------- | ----------- | --------------------------------------------- |
| env               | String      | Môi trường đặt bot (“papertrade” hoặc “real”) |
| id                | <p><br></p> | Số hiệu bot                                   |
| investorId        | String      | Mã khách hàng                                 |
| investorAccountId | Int         | Mã tài khoản của bot                          |
| strategyId        | Int         | Số hiệu chiến thuật                           |
| strategyVersion   | <p><br></p> | Phiên bản chiến thuật                         |
| strategyName      | <p><br></p> | Tên chiến thuật                               |
| …                 | <p><br></p> | <p><br></p>                                   |
