Update Notification Rule (Partial)

PATCH {{baseUrl}}/v2/users/:identifier/notification-rules/:ruleId

Updates the notification rule with given notification rule id

Request Body

{"name"=>"<string>", "criteria"=>{"type"=>"<string>"}, "notificationTime"=>["<string>", "<string>"], "timeRestriction"=>{"type"=>"<string>"}, "schedules"=>[{"type"=>"<string>", "id"=>"<string>", "name"=>"<string>"}, {"type"=>"<string>", "id"=>"<string>", "name"=>"<string>"}], "steps"=>[{"contact"=>{"method"=>"<string>", "to"=>"<string>"}, "enabled"=>"<boolean>", "sendAfter"=>{"timeAmount"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "timeUnit"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, {"contact"=>{"method"=>"<string>", "to"=>"<string>"}, "enabled"=>"<boolean>", "sendAfter"=>{"timeAmount"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "timeUnit"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}], "repeat"=>{"loopAfter"=>"<integer>", "enabled"=>"<boolean>"}, "order"=>"<integer>", "enabled"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;requestId&quot;:&quot;in Excepteur aute non ut&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;id&quot;:&quot;dolore&quot;,&quot;name&quot;:&quot;aliquip dolor nisi&quot;,&quot;actionType&quot;:&quot;renotified-alert&quot;,&quot;order&quot;:83782360,&quot;enabled&quot;:false}}