---
title: "Delete a space"
method: DELETE
path: "/api/spaces/space/{id}"
tags: ["spaces"]
---

# Delete a space

`DELETE /api/spaces/space/{id}`

When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.

## Path parameters

- `id` string, required

## Headers

- `kbn-xsrf` string, required

## Response `204`

Indicates a successful call.

## Other responses

- `404` — Indicates that the request failed.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
