*MCP › Reference › Catalog & inventory › Spaces*

# Delete a space

> Deletes the space and everything hanging from it: its notes, files, tasks, images and declared unavailabilities.

> **Not reversible:** This tool cannot be undone.

> **Requires human confirmation:** Put this tool on your client's “ask before running” list. The annotations are hints that the server declares, not guarantees: do not decide the approval from `destructiveHint` alone. The server flags this tool with `_meta["anthropic/requiresUserInteraction"]`, which clients that honor it use to ask a person before every call.

It is NOT reversible. Responds 409 if inventory (serialized units or bulk stock) is located in the space, or if it has future availability rules from a schedule: move the inventory, or retire the schedule, first. Responds 204 with no body: the space no longer exists for the API (its GET responds 404).

TOOL `filmo_spaces_delete` · `spaces:write` · 120/min · Server annotation: Destructive · Server annotation: Idempotent · Requires human confirmation · Not reversible

## Arguments

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `spaceId` | string | Yes | Space identifier. |
| `idempotencyKey` | string | No | Idempotency key chosen by the client (a UUID is recommended). Repeating the same key with the same arguments within 24 h returns the stored response without executing again; with different arguments it responds 422. It is the safe way to retry after a network failure. |
| `ifMatch` | string | No | Optimistic locking: the meta.etag you got from the detail read of this resource (or "*"). If the resource changed since, the call fails with 412 precondition_failed before writing anything; read it again and retry. Omit it to write unconditionally. |

## Result

On success the result carries `structuredContent` with `data` and `meta`. These are the attributes of `data`.

*Call · filmo_spaces_delete*

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_spaces_delete",
    "arguments": {
      "spaceId": "spac_8f2a1c"
    }
  }
}
```

*Result (generated from the schema)*

```json
{
  "structuredContent": {
    "data": "<value>",
    "meta": {
      "idempotencyKey": "<the key you sent, or the one the server generated>",
      "rateLimit": {
        "limit": 120,
        "remaining": 119,
        "reset": 42
      }
    }
  }
}
```

## The same operation by REST

This tool runs [`DELETE /api/v1/spaces/{spaceId}`](https://docs.filmo.io/rest-api/endpoint-reference/spaces/delete-a-space).

---

Canonical URL: https://docs.filmo.io/mcp/tools/spaces/filmo-spaces-delete  
Last updated: 2026-10-25