Replace a Device Assurance Policy

PUT {{baseUrl}}/api/v1/device-assurances/:deviceAssuranceId

Replaces a Device Assurance Policy by deviceAssuranceId

Request Body

{"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"]}}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

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"]}}}}