ApiDefinitions
Delete or archive
Deletes if never minted; archives otherwise.
DELETE
/api/coupons/{id}Deletes if never minted; archives otherwise.
Authorization<token>
Nostr <base64 of kind 27235 event>. Tags: u, method, optional
payload (sha256 hex of body), and a random nonce to avoid replay.
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
curl -X DELETE "https://example.com/api/coupons/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "deleted": false, "archived": true}