Worksheets
Soft-delete a worksheet
Marks the worksheet as deleted by stamping deleted_at with the server clock. The row stays in the database; subsequent GET/PATCH/DELETE all 404.
Returns the deleted resource (200) rather than 204 No Content for shape consistency with the rest of the API.
Frozen worksheets — refuses to soft-delete when the worksheet's linked invoice has been issued (would orphan the invoice's basis). Returns 409 conflict. Cancel the invoice with a credit note first.
delete/v1/worksheets/{id}
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/worksheets/{id}
- Auth: HTTP bearer
Response
Worksheet soft-deleted. deleted_at is populated.
Example response
{
"id": "a5d21e64-8f37-4b90-ae12-3c7d6b048f95"
}Changes
No recorded changes to this operation across all 1 revision of this API.