Update Schedule (Partial)

PATCH {{baseUrl}}/v2/schedules/:identifier?identifierType=id

Update schedule with given id or name

Request Params

KeyDatatypeRequiredDescription
identifierTypestringType of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name'

Request Body

{"name"=>"<string>", "description"=>"<string>", "timezone"=>"<string>", "enabled"=>"<boolean>", "ownerTeam"=>{"id"=>"<string>", "name"=>"<string>"}, "rotations"=>[{"startDate"=>"<dateTime>", "type"=>"<string>", "participants"=>[{"type"=>"<string>", "id"=>"<string>"}], "name"=>"<string>", "endDate"=>"<dateTime>", "length"=>"<integer>", "timeRestriction"=>{"type"=>"<string>"}}, {"startDate"=>"<dateTime>", "type"=>"<string>", "participants"=>[{"type"=>"<string>", "id"=>"<string>"}], "name"=>"<string>", "endDate"=>"<dateTime>", "length"=>"<integer>", "timeRestriction"=>{"type"=>"<string>"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;requestId&quot;:&quot;eiusmod in&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;id&quot;:&quot;officia id minim pariatur&quot;,&quot;name&quot;:&quot;et consequat veniam laboris&quot;,&quot;enabled&quot;:true}}