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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"requestId":"aliqua est tempor","took":0,"data":{"id":"eiusmod anim ex Ut aliqua","name":"culpa est exercitation","type":"notification","order":-60321366,"enabled":false}}