---
title: "Delete a space"
method: POST
path: "/space/{spaceId}/delete"
tags: ["Space"]
---

# Delete a space

`POST /space/{spaceId}/delete`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/space/{spaceId}/delete`
- Auth: HTTP bearer

## Path parameters

- `spaceId` string, required: The ID of the space to delete

## Request body

- object

## Response `200`

The space was deleted successfully

- object
  - `id` string, required: The ID of the deleted space

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
