Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

Delete product

What this does: Soft deletes a catalog product. The product is marked as deleted but not permanently removed from the database. This allows for data recovery if needed.

Important:

  • Only catalog products can be deleted through this endpoint (products without projectId or taskId)
  • Products that are assigned to projects or tasks cannot be deleted here
  • The product must exist in your workspace

After deletion:

  • The product will no longer appear in the product catalog list
  • It will not be available for selection in projects, tickets, or quotes
  • Historical data (e.g., invoices that used this product) remains intact

Response: Returns a success confirmation.

DELETE/administration/product-catalog/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200
successbooleanrequired
Operation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/product-catalog/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}