Delete quotation
Requires express quotations to be enabled in the task’s current project. Returns 403 when disabled.
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
hasAcceptedQuotationflag 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 · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
quotationIdanyrequiredQuotation UUID
identifieranyrequiredTask UUID or numeric shortNumber
Responses
200Quotation deleted successfully
successbooleanrequiredOperation success flag
400Invalid task identifier or quotation ID
401Unauthorized - Invalid or missing authentication token
403No access to task project or express quotations are disabled
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"const response = await fetch("https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Invalid task identifier or quotation ID
Unauthorized - Invalid or missing authentication token
No access to task project or express quotations are disabled
Task or quotation not found