---
title: "Delete bot"
method: DELETE
path: "/bots/{key}"
tags: ["bots"]
---

# Delete bot

`DELETE /bots/{key}`

Delete a specific bot

## Path parameters

- `key` string, required

## Response `200`

Success, Deleted Bot

- BotResponse — A response for information about a bot
  - `id` string — The UUID for the bot
  - `name` string — The unique readable name for the bot
  - `url` string — The URL of the bot server
  - `ui` object — The UI of the bot
    - `name` string — The name of the UI file.
    - `size` integer — The size of the UI file (bytes)
  - `active` boolean — Flag for if a bot is active with communication
  - `actions` object[] — A list of actions that a bot can perform
  - `data` object[] — A list of data that a bot can provide
  - `installedBy` string — The user who installed the bot

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `404` — Resource Not Found
- `default` — Error

## Changes

- **2019-05-11** (v1) `1f6763745891` — 1 info
  - api operation id `deleteBots` removed and replaced with `deleteBot`
- **2018-03-30** (v1) `4ca6b20ef8df` — 1 info
  - api operation id `deleteBot` removed and replaced with `deleteBots`

[Change history](https://skmtc.dev/salesforce/apis/refocus-api/changes/bots/:key/delete.md)

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
