putAlertById

PUT https://{{base_url}}/v1/putAlertsById/{{Alert_Id}}

Updates the alert whose Id is specified by the {Alert_Id} parameter.

Request Body

{"projectId"=>"6b8af3a0-055c-11ea-9172-cb9ebb7ca7d2", "projectAddress"=>"08 rue corail Aind diab", "riskIds"=>["Earthquakes", "Inland Flooding", "Coastal Flooding"], "scoreChange"=>false, "newsAndResearch"=>false, "active"=>false}

HEADERS

KeyDatatypeRequiredDescription
Apikeystring

RESPONSES

status: OK

{"projectId":"a2f74630-303f-11ec-a976-f1e47d48dac8","active":true,"projectAddress":"84087, Woods Cross, Utah","riskIds":[1,2,3],"archived":false,"newsAndResearch":true,"scoreChange":true}