Create a Device Assurance Policy
POST {{baseUrl}}/api/v1/device-assurances
Creates a new Device Assurance Policy
Request Body
{"name"=>"Device Assurance Android", "osVersion"=>{"minimum"=>"12.4.5"}, "diskEncryptionType"=>{"include"=>["USER", "FULL"]}, "jailbreak"=>false, "platform"=>"ANDROID", "screenLockType"=>{"include"=>["BIOMETRIC"]}, "secureHardwarePresent"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"dae3m8o4rWhwReDeM1c5","name":"Device Assurance Example","lastUpdate":"2022-01-01T00:00:00.000Z","createdUpdate":"2022-01-01T00:00:00.000Z","lastUpdatedBy":"00u217pyf72CdUrBt1c5","createdBy":"00u217pyf72CdUrBt1c5","osVersion":{"minimum":"12.4.5.9"},"diskEncryptionType":{"include":["ALL_INTERNAL_VOLUMES"]},"platform":"WINDOWS","screenLockType":{"include":["PASSCODE","BIOMETRIC"]},"secureHardwarePresent":true,"_links":{"self":{"href":"https://your-subdomain.okta.com/api/v1/device-assurances/dae3m8o4rWhwReDeM1c5","hints":{"allow":["DELETE","GET","PUT"]}}}}