Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 6.96 KB

postv1teamsteamidoncallschedules.md

File metadata and controls

19 lines (15 loc) · 6.96 KB

PostV1TeamsTeamIDOnCallSchedules

Create a Signals on-call schedule for a team.

Fields

Field Type Required Description
Name string ✔️ The on-call schedule's name.
Description *string A detailed description of the on-call schedule.
TimeZone string ✔️ The time zone in which the on-call schedule operates. This value must be a valid IANA time zone name.
SlackUserGroupID *string The ID of a Slack user group for syncing purposes. If provided, we will automatically sync whoever is on call to the user group in Slack.
Members []components.PostV1TeamsTeamIDOnCallSchedulesMembers An ordered list of objects that specify members of the on-call schedule's rotation.
Strategy components.Strategy ✔️ An object that specifies how the schedule's on-call shifts should be generated.
Restrictions []components.Restrictions A list of objects that restrict the schedule to speccific on-call periods.
StartTime *string An ISO8601 time string specifying when the schedule's first shift should start. This value is only used if the schedule's strategy is "custom".
Color *string A hex color code that will be used to represent the schedule in the UI and iCal subscriptions.
MemberIds []string This parameter is deprecated; use members instead.