---
title: "Erase a crystal in the authenticated owner's scope (unlinks ciphertext, records tombstone, and returns an Ed25519-signed wm.crystal-erasure receipt)"
method: DELETE
path: "/crystals/{id}"
---

# Erase a crystal in the authenticated owner's scope (unlinks ciphertext, records tombstone, and returns an Ed25519-signed wm.crystal-erasure receipt)

`DELETE /crystals/{id}`

## Request

- Base URL: `https://api.whitemagic.dev`
- URL: `https://api.whitemagic.dev/crystals/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-WM-Key`
  - API key in header `X-PAYMENT`

## Path parameters

- `id` string, required

## Response `200`

crystal erased and signed erasure receipt emitted

- object
  - `erased` boolean, required
  - `already_erased` boolean
  - `crystal_id` string, required
  - `tenant_hash` string, required
  - `erasure_class` string, required
  - `erasure_receipt` object, required
  - `receipt_digest` string, required
  - `service` string, required

## Other responses

- `400`: invalid JSON or shape
- `401`: missing or invalid key
- `404`: not found in this scope

---

[API](https://skmtc.dev/whitemagic/apis/whitemagic-receipt-verification-api.md) · [All operations](https://skmtc.dev/whitemagic/apis/whitemagic-receipt-verification-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whitemagic/apis/whitemagic-receipt-verification-api/revisions/92a4341eb473?raw)
