Update Schedule

PUT {{baseUrl}}/schedules/:schedulesID

This endpoint is used to update a schedule's configuration. Requires access_token as a Bearer {{token}} in the Authorization header with schedule-write scope.

Request Body

{"name"=>"Daily Backend schedule", "colour"=>"#0f61dc", "description"=>"This schedule repeats daily"}

RESPONSES

status: OK

{"data":{"id":"620b96f54ec9cda09057f88f","name":"schedule-3","slug":"schedule3","organization_id":"60cb200bc9de4a0008d2fc41","colour":"#0f61dc","description":"This schedule repeats daily","owner":{"id":"620b71fef163b1e165f19f9c","type":"team"},"access_control":[],"organization":{"id":"60cb200bc9de4a0008d2fc41","name":"Modhilal_Squadcast","slug":"modhilalsquadcast"}}}