Trash a form
Coming soon
This endpoint is documented ahead of its release and is not available yet.
DELETE/forms/:id
Moves it to the trash, restorable from the desktop.
Request
Responses
- 200
- 401
- 403
- 404
- 409
Moved to the trash (or deleted, where the operation says so).
Missing, invalid or expired token, or no contact matches it.
Authenticated, but not allowed.
Unknown route, or the resource is missing or in the trash; message names what was
looked for (task, note, payment_receipt, expense…). On an expenses route,
message: "expenses" means the plugin is not active.
The request conflicts with the current state. code says how:
idempotency_key_reuse / request_in_progress (the Idempotency-Key header),
invoiced (an expense or time entry on an invoice cannot change), already_paused,
not_paused, not_running (the timer), deleted.