Rotations
Update a shift
Changed onUpdate 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}
Request
- Base URLhttps://api.victorops.com
- Authnone declared. Required headers: X-VO-Api-Id, X-VO-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
- info
endpoint added
- info