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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"requestId":"in Excepteur aute non ut","took":0,"data":{"id":"dolore","name":"aliquip dolor nisi","actionType":"renotified-alert","order":83782360,"enabled":false}}