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.

Text

TRUE

Schedule

Name

Name of the schedule layer.

Text

FALSE

Description

A short summary of the purpose for the schedule layer.

Text

FALSE

Time Zone

Time zone of the schedule.

Text

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:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

PagerDuty connector

Workflow elements

PagerDuty REST API