v2
latestSwagger 2.02026-07-26109144190.4 KBRotations
Update a shift
Update an existing shift within a rotation group.
The shift duration must be 90 days or less. All fields are required (this is a full replacement). The "shifttype" field must be one of: "std" (Standard), "fts" (Follow The Sun), "cstm" (Custom), "pho" (Period Hand Off).
This API may be called a maximum of 2 times per second.
put/api-public/v1/teams/{team}/rotations/{groupId}/{shiftId}
Path parameters
teamstring required
The team slug
groupIdinteger required
The rotation group ID
shiftIdinteger required
The rotation shift ID
Query parameters
skipinteger
Number of weeks to skip for the on-call period preview
countinteger
Number of weeks to show for the on-call period preview
Headers
X-VO-Api-Idstring required
Your API ID
X-VO-Api-Keystring required
Your API Key
Request body
Response
The updated shift with on-call period details