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",
- "id": "string",
- "lastUpdate": "string",
- "lastUpdatedBy": "string",
- "name": "string",
- "platform": "ANDROID",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
]
okta.deviceAssurance.manage
Creates a new Device Assurance Policy
name | string Display name of the Device Assurance Policy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
platform | string (Platform) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (OSVersionFourComponents) Current version of the operating system (maximum of four components in the versioning scheme) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (OSVersionConstraint) [ 1 .. 2 ] items There are two types of OS requirements:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array ([ 1 .. 2 ] items) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
secureHardwarePresent | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Settings for third-party signal providers (based on the | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
Forbidden
Too Many Requests
{- "name": "Device Assurance Android",
- "osVersion": {
- "minimum": 12
}, - "diskEncryptionType": {
- "include": [
- "USER",
- "FULL"
]
}, - "jailbreak": false,
- "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "BIOMETRIC"
]
}, - "secureHardwarePresent": true
}
{- "id": "dae3m8o4rWhwReDeM1c5",
- "name": "Device Assurance Android",
- "lastUpdate": "2022-01-01T00:00:00.000Z",
- "createdUpdate": "2022-01-01T00:00:00.000Z",
- "lastUpdatedBy": "00u217pyf72CdUrBt1c5",
- "createdBy": "00u217pyf72CdUrBt1c5",
- "osVersion": {
- "minimum": "12.4.5"
}, - "diskEncryptionType": {
- "include": [
- "USER",
- "FULL"
]
}, - "jailbreak": false,
- "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "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 Android",
- "lastUpdate": "2022-01-01T00:00:00.000Z",
- "createdUpdate": "2022-01-01T00:00:00.000Z",
- "lastUpdatedBy": "00u217pyf72CdUrBt1c5",
- "createdBy": "00u217pyf72CdUrBt1c5",
- "osVersion": {
- "minimum": "12.4.5"
}, - "diskEncryptionType": {
- "include": [
- "USER",
- "FULL"
]
}, - "jailbreak": false,
- "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "BIOMETRIC"
]
}, - "secureHardwarePresent": true,
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE",
- "GET",
- "PUT"
]
}
}
}
}
okta.deviceAssurance.manage
Replaces a Device Assurance Policy by deviceAssuranceId
name | string Display name of the Device Assurance Policy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
platform | string (Platform) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (OSVersionFourComponents) Current version of the operating system (maximum of four components in the versioning scheme) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (OSVersionConstraint) [ 1 .. 2 ] items There are two types of OS requirements:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array ([ 1 .. 2 ] items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
secureHardwarePresent | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Settings for third-party signal providers (based on the | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
Forbidden
Not Found
Too Many Requests
{- "name": "Device Assurance Android",
- "osVersion": {
- "minimum": 12
}, - "diskEncryptionType": {
- "include": [
- "USER",
- "FULL"
]
}, - "jailbreak": false,
- "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "BIOMETRIC"
]
}, - "secureHardwarePresent": true
}
{- "id": "dae3m8o4rWhwReDeM1c5",
- "name": "Device Assurance Android",
- "lastUpdate": "2022-01-01T00:00:00.000Z",
- "createdUpdate": "2022-01-01T00:00:00.000Z",
- "lastUpdatedBy": "00u217pyf72CdUrBt1c5",
- "createdBy": "00u217pyf72CdUrBt1c5",
- "osVersion": {
- "minimum": "12.4.5"
}, - "diskEncryptionType": {
- "include": [
- "USER",
- "FULL"
]
}, - "jailbreak": false,
- "platform": "ANDROID",
- "screenLockType": {
- "include": [
- "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": [ ]
}