---
title: "DELETE /api/v1/{context_id}/scopes"
method: DELETE
path: "/api/v1/{context_id}/scopes"
---

# DELETE /api/v1/{context_id}/scopes

`DELETE /api/v1/{context_id}/scopes`

Tombstone a scope node (soft-delete: sets tombstoned_at = time::now()). The root scope `/` is reserved and cannot be tombstoned.

## Path parameters

- `context_id` string, required

## Query parameters

- `path` string, required

## Response `204`

Tombstoned

## Other responses

- `400` — Invalid scope path
- `401` — Unauthorized
- `403` — Caller lacks the `scope:delete` grant over the region, or the target is the reserved root scope `/`
- `422` — Invalid context id
- `503` — Server too busy: the per-pod in-flight request cap was exceeded. Retry per the `Retry-After` header.

## Changes

- **2026-08-24** `9f1598713067` — 2 info
  - added the non-success response with the status `403`
  - added the non-success response with the status `503`

[Change history](https://skmtc.dev/surrealdb/apis/spectron/changes/api/v1/:context_id/scopes/delete.md)

---

[API](https://skmtc.dev/surrealdb/apis/spectron.md) · [All operations](https://skmtc.dev/surrealdb/apis/spectron/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/surrealdb/spectron/revisions/9f1598713067/schema)
