Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

Delete quotation

Soft deletes the quotation by setting the deletedAt timestamp. Deleted quotations are excluded from listings and cannot be used for billing.

What happens when a quotation is deleted:

  • The quotation is marked as deleted (soft delete)
  • It will not appear in quotation listings
  • It cannot be accepted, rejected, or sent via email
  • If this was the accepted quotation, the task’s hasAcceptedQuotation flag is cleared
  • Historical data is preserved for audit purposes

Note: This is a soft delete operation. The quotation data remains in the database but is hidden from normal operations. Deleted quotations cannot be restored through the API.

DELETE/tasks/{identifier}/express-quotations/{quotationId}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
quotationIdanyrequired
Quotation UUID
identifieranyrequired
Task UUID or numeric shortNumber
Responses
200Quotation deleted successfully
successbooleanrequired
Operation success flag
400Invalid task identifier or quotation ID
401Unauthorized - Invalid or missing authentication token
403No access to task project
404Task or quotation not found
Request
curl -X DELETE "https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}