put
https://integrate.rooflink.com/roof_link_endpoints/api/light/events//
Performs a full update of an event, replacing all fields with the provided values.
Permission Requirements:
- The authenticated user must be an employee (crew members cannot update events).
- The user must have edit permissions for the event.
Update Behavior:
- All required fields must be provided (name, start, end).
- The job field cannot be updated after creation (it is excluded from the update form).
- Updating an event triggers calendar sync tasks for Google Calendar and Outlook.
- Email and SMS notifications are sent to invitees if they have changed.
Validation Rules:
- The start time must be before the end time.
- Event duration must be at least 15 minutes.
- Start times before 7 AM are adjusted to 7 AM (unless all_day or any_time is true).
- End times before 8 AM are adjusted to 8 AM (unless all_day or any_time is true).
- Invitees must be valid user IDs within the company.
