Calendar

Soft-delete a calendar entry

Stamps deleted_at with NOW(). The row remains in the database but is no longer addressable through the mobile API — subsequent GET/PATCH/DELETE return 404. Returns the deleted entry (200) so clients can render an undo banner with the populated deleted_at.

delete/v1/calendar-entries/{id}

Request

  • Base URL: https://api.officina.it
  • URL: https://api.officina.it/v1/calendar-entries/{id}
  • Auth: HTTP bearer

Response

Calendar entry soft-deleted.

object'calendar_entry' required
idstring uuid required
titlestring required
descriptionstring nullable
user_idstring uuid required
start_timestring date-time required
end_timestring date-time required
colorstring required

Hex colour, e.g. #2563eb

email_reminderboolean required
customer_idstring uuid nullable
vehicle_idstring uuid nullable
worksheet_idstring uuid nullable
quote_idstring uuid nullable
checkin_idstring uuid nullable
work_category_idstring uuid nullable
work_category_namestring nullable
work_category_idsstring[] required

Every work category ("categoria") of the document, in the order chosen. work_category_id (kept for clients that handle a single category) always equals the first. [] when the document has none, never null. Available since revision 2026-10-03.

calendar_idstring uuid nullable
auto_reminder_enabledboolean required
auto_reminder_channel'email' | 'sms' | 'whatsapp' | 'null' nullable
auto_reminder_sent_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.