---
title: "Delete bot"
method: DELETE
path: "/ccaas/1/bots/{botId}"
tags: ["customer-engagement", "conversations", "bots"]
---

# Delete bot

`DELETE /ccaas/1/bots/{botId}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/ccaas/1/bots/{botId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Use this method to delete a bot.
All open conversations assigned to a bot will be rerouted. <a href="https://www.infobip.com/docs/conversations/supervisor-guide#connect-external-bots-self-service-automation" target="_blank">More info</a>

## Path parameters

- `botId` string, required

## Response `200`

OK

- 59fee77911b10cc32daa4aa3591d8ca0b6f5fe540a80b499aee90c38ff11a187StatusCodeResponse
  - `statusCode` 'SUCCESS' | 'ERROR'
  - `message` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
