---
search:
  tags:
    - Bots
    - POST
seo:
  description: >-
    Deletes a bot you registered, in any review state. Staff can delete any bot.
    The bot… Reference for the POST /v1/bot.delete endpoint in the SteamSets
    API.
sidebar:
  label: Delete a directory bot
  badge: POST
title: Delete a directory bot
type: openapi-operation
---
Deletes a bot you registered, in any review state. Staff can delete any bot. The bot leaves the directory within seconds, its key stops working and this cannot be undone. A bot that is not yours answers 404.

`POST /v1/bot.delete`

**Request body** (`application/json`, required)

- `id` (string, required) — The bot's public id.

Request body example:

```json
{
  "id": "bot_3cVFAKxh8Q2ZqkTq"
}
```

**Responses**

- `204` — No Content
- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error
