Quotes

Delete a quote

Delete a quote. Draft quotes are permanently deleted (204). Non-draft quotes are soft-deleted (cancelled) to preserve VeriFactu hash chain integrity, returning 200 with the cancelled document body.

delete/v1/quotes/{quoteId}

Request

  • Base URL: https://api.frihet.io
  • URL: https://api.frihet.io/v1/quotes/{quoteId}
  • Auth: API key in header X-API-Key

Path parameters

quoteIdstring required

Quote unique identifier

Response

Quote soft-deleted (cancelled). Returned for non-draft quotes.

Example response

{
  "data": {
    "status": "cancelled",
    "cancelledVia": "api"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.