Create Policy

POST {{baseUrl}}/v2/policies

Creates a new policy

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;requestId&quot;:&quot;aliqua est tempor&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;id&quot;:&quot;eiusmod anim ex Ut aliqua&quot;,&quot;name&quot;:&quot;culpa est exercitation&quot;,&quot;type&quot;:&quot;notification&quot;,&quot;order&quot;:-60321366,&quot;enabled&quot;:false}}