Delete a quote
DELETE/v1/quotes/{quoteId}
Deletes a quote and its public page, as the quote editor's Delete does. It cannot be undone, so confirm (a query parameter) must be the quote's exact name. The API refuses an accepted quote (quote_sold: reopen it first) and a quote with any payment (quote_has_payments).
Permissions: quotes:write · Kind: destructive · Cost: 1 unit · MCP tool delete_quote
Cannot be undone.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
quoteId |
uuid | yes |
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
confirm |
string | yes | The quote's exact name. max 200 chars |
Response 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
"deleted_quote" | yes | |
id |
uuid | yes | |
tripId |
uuid | yes | |
name |
string | yes |
Errors
Errors are problem details. Besides the refusals described above, any call like this one can return:
invalid_request— Invalid requestunauthorized— Missing or invalid API keyinsufficient_scope— Missing permissionrate_limited— Rate limit reachednot_found— Not foundidempotency_key_reused— Idempotency-Key reusedrequest_in_progress— Request in progressforbidden— Not allowed