Trash or permanently delete a deck
DELETE/v1/decks/{id}
Moves the deck to the trash (soft delete; restore with `PATCH { trashed: false }`). Pass `?permanent=true` to permanently delete an already-trashed deck and its stored content (irreversible).
Requires an API key (bearer), scoped to the active org. Supports idempotency keys.
Path parameters
idstringrequired
Query parameters
permanentstringoptionalPossible values:
true,false
Returns
200The trashed deck, or a deletion confirmation when `?permanent=true`.
Failures use the standard error envelope with a closed set of codes.