---
title: "Delete a space"
method: DELETE
path: "/api/w/{wId}/spaces/{spaceId}"
tags: ["Private Spaces"]
---

# Delete a space

`DELETE /api/w/{wId}/spaces/{spaceId}`

Deletes a specific space from the workspace.

## Path parameters

- `wId` string, required
- `spaceId` string, required

## Query parameters

- `force` 'true'

## Response `200`

Success

- object
  - `space` PrivateSpace — A space in the workspace.
    - `sId` string, required
    - `name` string, required
    - `kind` 'global' | 'system' | 'conversations' | 'regular' | 'project', required
    - `groupIds` string[], required
    - `isRestricted` boolean, required
    - `managementMode` 'manual' | 'group', required
    - `createdAt` integer
    - `updatedAt` integer

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.net/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/revisions/5fb378acc79f/schema)
