---
title: "DELETE /channels/{channelID}/bots/{botID}"
method: DELETE
path: "/channels/{channelID}/bots/{botID}"
tags: ["bot"]
---

# DELETE /channels/{channelID}/bots/{botID}

`DELETE /channels/{channelID}/bots/{botID}`

Botをチャンネルから退出させます。

## Response `204`

正常に退出させることができました。

## Other responses

- `404` — 退出させることができませんでした。指定したチャンネル、またはBotは存在しません。

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `removeChannelBot` was added
- **2019-07-05** `6956f2622a20` — 6 info
  - api operation id `removeChannelBot` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added the non-success response with the status `404`
  - …2 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/channels/:channelID/bots/:botID/delete.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/4ab97bc4eb2c/schema)
