Delayed Notification Config Copy
PUT http://localhost:8081/v3/services/:serviceID/notification-delay-config
Request Body
{"is_enabled"=>true, "timezone"=>"Asia/Kolkata", "fixed_timeslot_config"=>{"start_time"=>"09:00", "end_time"=>"08:00", "repeat_days"=>[0, 1, 2]}, "custom_timeslots_enabled"=>true, "custom_timeslots"=>{"3"=>[{"start_time"=>"09:00", "end_time"=>"18:00"}], "4"=>[{"start_time"=>"09:00", "end_time"=>"18:00"}]}, "assigned_to"=>{"id"=>"632a9ff0585f3e1fc98d5057", "type"=>"user"}}
RESPONSES
status: OK
{"data":{"id":"65bb297ff2df7e2ec661276c","name":"asfa1","slug":"asfa","email":"8bafc80e1f040b328e07092bc29232bd2241c04e@rbac-uat.incidents.squadcast.tech","escalation_policy_id":"65ba91f4f2df7e2ec65fc3dd","organization_id":"604592dabc35ea0008bb0584","api_key":"8bafc80e1f040b328e07092bc29232bd2241c04e","description":"","depends":null,"owner":{"id":"654dab338cef5f4865b9998b","type":"team"},"access_control":[],"maintainer":{"id":"632a9ff0585f3e1fc98d5057","type":"user"},"tags":[],"auto_pause_transient_alerts_config":{"is_enabled":false,"timeout_in_mins":0},"intelligent_alerts_grouping_config":{"is_enabled":false,"rolling_window_in_mins":0},"delay_notification_config":{"is_enabled":true,"timezone":"Asia/Kolkata","fixed_timeslot_config":{"start_time":"09:00","end_time":"08:00","repeat_days":[0,1,2]},"custom_timeslots_enabled":true,"custom_timeslots":{"3":[{"start_time":"09:00","end_time":"18:00"}],"4":[{"start_time":"09:00","end_time":"18:00"}]},"assigned_to":{"id":"632a9ff0585f3e1fc98d5057","type":"user"}},"config":{"dedup_key_enabled":true},"created_at":"2024-02-01T05:17:51.05Z","updated_at":"2024-06-05T13:48:19.463Z"}}