Create Alert Policy

POST {{baseUrl}}/v1/policies

Creates a new alert policy

Request Body

{"type"=>"<string>", "id"=>"<string>", "name"=>"<string>", "policyDescription"=>"<string>", "filter"=>{"type"=>"<string>"}, "timeRestrictions"=>{"type"=>"<string>"}, "enabled"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;requestId&quot;:&quot;ea consectetur in labore&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;id&quot;:&quot;ex pariatur esse&quot;,&quot;name&quot;:&quot;non&quot;,&quot;type&quot;:&quot;auto-close&quot;,&quot;order&quot;:-17594065,&quot;enabled&quot;:true}}