Update alert by id

PUT https://anypoint.mulesoft.com/armui/api/v1/alerts/cloudhub/02213013-10f2-4bbb-b399-718c0a543e18

Request Body

{"name"=>"Low CPU usage", "severity"=>"WARNING", "actions"=>[{"type"=>"email", "content"=>"Hello,\nYou are receiving this alert because:\nThe application ${resource} is now in an ${state} state, based on the condition 'CPU ${operator} ${value}%.", "subject"=>"${severity}: CPU usage ${state}", "emails"=>["angel.alberici+testalerts@mulesoft.com", "angel.alberici@mulesoft.com"]}], "condition"=>{"operator"=>"LESS_THAN", "value"=>50, "periodCount"=>1, "resourceType"=>"cloudhub-application", "type"=>"cpu", "periodMins"=>1, "resources"=>["*"]}}

HEADERS

KeyDatatypeRequiredDescription
X-ANYPNT-ENV-IDstring(Required) Identifier of the environment where the api user is currently working.
X-ANYPNT-ORG-IDstring(Required) Identifier of the sub org where the api user is currently working.
Authorizationstring