Update shift
rotacloud_update_shiftWRITE: change a shift's times, assignee, location, role, break, notes or published state. Only the fields you pass change. POST /shifts/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Shift notes. | |
| role_id | No | New role id. | |
| user_id | No | New assignee; null makes it an open shift. | |
| end_time | No | Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z). | |
| shift_id | Yes | Shift id. | |
| published | No | Published state. | |
| start_time | No | Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z). | |
| location_id | No | New location id. | |
| minutes_break | No | Unpaid break in minutes. |