---
title: "Disconnect a bot, its webhook is removed"
method: DELETE
path: "/api/v1/telegram-bots/{botId}"
tags: ["Telegram bots"]
---

# Disconnect a bot, its webhook is removed

`DELETE /api/v1/telegram-bots/{botId}`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/telegram-bots/{botId}`
- Auth: HTTP bearer

## Path parameters

- `botId` integer, required

## Response `204`

No Content

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
