Update Schedule
Update a schedule in your PagerDuty instance.
Input
Field | Definition | Type | Required |
---|---|---|---|
Update By | |||
Schedule ID | Unique identifier of the schedule that will be updated. | String | TRUE |
Schedule | |||
Name | Name of the schedule layer. | String | FALSE |
Description | A short summary of the purpose for the schedule layer. | String | FALSE |
Time Zone | Time zone of the schedule. | String | TRUE |
Schedule Layers |
A list of schedule layers, including IDs, start and end times, users, and restrictions for each schedule layer. A schedule must include at least one schedule layer.
Example: { "Name": "new", "Start": "2021-09-29T15:58:11Z", "End": "", "Users": [ { "User ID": "PB4W3JN", "Type": "user_reference" }, { "User ID": "P6WEVDW", "Type": "user_reference" } ], "Restrictions": [ { "Type": "daily_restriction", "Duration Seconds": 300, "Start Time Of Day": "12:31:23Z", "Start Day Of Week": null }, { "Type": "daily_restriction", "Duration Seconds": 300, "Start Time Of Day": "10:21:23Z", "Start Day Of Week": null } ], "Rotation Virtual Start": "2021-09-30T15:58:11Z", "Rotation Turn Length Seconds": 3700 } |
Object | FALSE |
Output
Field | Definition | Type |
---|---|---|
Status Code | Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:
For a full list of possible status codes, see HTTP status codes. |
Number |