---
title: "DELETE /api/v1/spaces/{spaceId}"
method: DELETE
path: "/api/v1/spaces/{spaceId}"
---

# DELETE /api/v1/spaces/{spaceId}

`DELETE /api/v1/spaces/{spaceId}`

## Request

- Base URL: `https://falconer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://falconer.com/api/v1/spaces/{spaceId}`
- Auth: none declared

## Path parameters

- `spaceId` integer, required

## Headers

- `x-organization-id` string: Required when using OAuth bearer tokens.

## Response `204`

Space archived with its documents. Repository sync in it is disconnected.

## Other responses

- `400`: Bad request
- `403`: Only organization owners can archive Spaces
- `404`: Space not found
- `409`: The Space has a published docs site, a custom domain, or a paid add-on

---

[API](https://skmtc.dev/falconer/apis/falconer-public-api.md) · [All operations](https://skmtc.dev/falconer/apis/falconer-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/falconer/apis/falconer-public-api/revisions/c00420511526?raw)
