The Device Assurance Policies API provides operations to manage device assurance policies in your organization.
okta.deviceAssurance.read
Lists all device assurance policies
OK
Forbidden
Too Many Requests
[- {
- "createdBy": "string",
- "createdDate": "string",
- "diskEncryptionType": {
- "include": [
- "ALL_INTERNAL_VOLUMES"
]
}, - "id": "string",
- "jailbreak": true,
- "lastUpdatedBy": "string",
- "lastUpdatedDate": "string",
- "name": "string",
- "osVersion": {
- "minimum": "string"
}, - "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "BIOMETRIC"
]
}, - "secureHardwarePresent": true,
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "type": "string"
}
}
}
]
okta.deviceAssurance.manage
Creates a new Device Assurance Policy
OK
Bad Request
Forbidden
Too Many Requests
{- "name": "Device Assurance Android",
- "osVersion": {
- "minimum": "12.4.5"
}, - "diskEncryptionType": {
- "include": [
- "USER",
- "FULL"
]
}, - "jailbreak": false,
- "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "BIOMETRIC"
]
}, - "secureHardwarePresent": true
}
{- "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": {
- "hints": {
- "allow": [
- "DELETE",
- "GET",
- "PUT"
]
}
}
}
}
okta.deviceAssurance.read
Retrieves a Device Assurance Policy by deviceAssuranceId
OK
Forbidden
Not Found
Too Many Requests
{- "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": {
- "hints": {
- "allow": [
- "DELETE",
- "GET",
- "PUT"
]
}
}
}
}
okta.deviceAssurance.manage
Replaces a Device Assurance Policy by deviceAssuranceId
OK
Bad Request
Forbidden
Not Found
Too Many Requests
{- "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": {
- "hints": {
- "allow": [
- "DELETE",
- "GET",
- "PUT"
]
}
}
}
}
{- "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": {
- "hints": {
- "allow": [
- "DELETE",
- "GET",
- "PUT"
]
}
}
}
}
okta.deviceAssurance.manage
Deletes a Device Assurance Policy by deviceAssuranceId
. If the Device Assurance Policy is currently being used in the org Authentication Policies, the delete will not be allowed.
No Content
Forbidden
Not Found
Conflict
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}