Returns Policies list
successful operation
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "count": 0,
- "next": "string",
- "previous": "string",
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "enterprise": "string",
- "url": "string",
- "name": "string",
- "description": "string",
- "device_count": 0,
- "google_policy_id": "string",
- "policy": {
- "keyguardDisabled": true,
- "safeBootDisabled": true,
- "statusBarDisabled": true,
- "factoryResetDisabled": true,
- "screenshotDisabled": true,
- "usbConnectivityDisabled": true,
- "smsDisabled": true,
- "outgoingCallsDisabled": true,
- "cameraDisabled": true,
- "nfcBeamDisabled": true,
- "disablePlayStore": true,
- "usbFileTransferDisabled": true,
- "tetheringDisabled": true,
- "dateTimeConfigDisabled": true,
- "appUninstallDisabled": true,
- "googleAssistantDisabled": true,
- "disableLocalAppInstall": true,
- "adbDisabled": true,
- "phonePolicy": {
- "incomingNumbers": [
- "string"
], - "outgoingNumbers": [
- "string"
], - "dialer": "DEFAULT",
- "allowUssdCodes": false
}, - "frpGoogles": [
- {
- "type": "USER",
- "email": "user@example.com",
- "googleId": "string"
}
], - "googleAccountPermission": {
- "maxAccount": 0,
- "emails": [
- "user@example.com"
], - "domains": [
- "string"
]
}, - "devicePasswordPolicy": {
- "passwordQuality": "PASSWORD_QUALITY_ALPHABETIC"
}, - "minimumPasswordLength": 4,
- "permissionPolicy": "PERMISSION_POLICY_PROMPT",
- "deviceUpdatePolicy": {
- "type": "TYPE_INSTALL_AUTOMATIC",
- "maintenanceStart": 0,
- "maintenanceEnd": 0
}, - "settingsAccessLevel": "SYSTEM",
- "settingsAppPassword": "pa$$word"
}, - "updated_on": "2019-08-24T14:15:22Z",
- "created_on": "2019-08-24T14:15:22Z",
- "is_active": true
}
]
}
API to create a new Enterprise Policy
The request body to create an Enteprise Policy
command request successfully created
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Internal server error
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "enterprise": "string",
- "url": "string",
- "name": "string",
- "description": "string",
- "device_count": 0,
- "google_policy_id": "string",
- "policy": {
- "keyguardDisabled": true,
- "safeBootDisabled": true,
- "statusBarDisabled": true,
- "factoryResetDisabled": true,
- "screenshotDisabled": true,
- "usbConnectivityDisabled": true,
- "smsDisabled": true,
- "outgoingCallsDisabled": true,
- "cameraDisabled": true,
- "nfcBeamDisabled": true,
- "disablePlayStore": true,
- "usbFileTransferDisabled": true,
- "tetheringDisabled": true,
- "dateTimeConfigDisabled": true,
- "appUninstallDisabled": true,
- "googleAssistantDisabled": true,
- "disableLocalAppInstall": true,
- "adbDisabled": true,
- "phonePolicy": {
- "incomingNumbers": [
- "string"
], - "outgoingNumbers": [
- "string"
], - "dialer": "DEFAULT",
- "allowUssdCodes": false
}, - "frpGoogles": [
- {
- "type": "USER",
- "email": "user@example.com",
- "googleId": "string"
}
], - "googleAccountPermission": {
- "maxAccount": 0,
- "emails": [
- "user@example.com"
], - "domains": [
- "string"
]
}, - "devicePasswordPolicy": {
- "passwordQuality": "PASSWORD_QUALITY_ALPHABETIC"
}, - "minimumPasswordLength": 4,
- "permissionPolicy": "PERMISSION_POLICY_PROMPT",
- "deviceUpdatePolicy": {
- "type": "TYPE_INSTALL_AUTOMATIC",
- "maintenanceStart": 0,
- "maintenanceEnd": 0
}, - "settingsAccessLevel": "SYSTEM",
- "settingsAppPassword": "pa$$word"
}, - "updated_on": "2019-08-24T14:15:22Z",
- "created_on": "2019-08-24T14:15:22Z",
- "is_active": true
}
Returns EnterprisePolicy instance
successful operation
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "enterprise": "string",
- "url": "string",
- "name": "string",
- "description": "string",
- "device_count": 0,
- "google_policy_id": "string",
- "policy": {
- "keyguardDisabled": true,
- "safeBootDisabled": true,
- "statusBarDisabled": true,
- "factoryResetDisabled": true,
- "screenshotDisabled": true,
- "usbConnectivityDisabled": true,
- "smsDisabled": true,
- "outgoingCallsDisabled": true,
- "cameraDisabled": true,
- "nfcBeamDisabled": true,
- "disablePlayStore": true,
- "usbFileTransferDisabled": true,
- "tetheringDisabled": true,
- "dateTimeConfigDisabled": true,
- "appUninstallDisabled": true,
- "googleAssistantDisabled": true,
- "disableLocalAppInstall": true,
- "adbDisabled": true,
- "phonePolicy": {
- "incomingNumbers": [
- "string"
], - "outgoingNumbers": [
- "string"
], - "dialer": "DEFAULT",
- "allowUssdCodes": false
}, - "frpGoogles": [
- {
- "type": "USER",
- "email": "user@example.com",
- "googleId": "string"
}
], - "googleAccountPermission": {
- "maxAccount": 0,
- "emails": [
- "user@example.com"
], - "domains": [
- "string"
]
}, - "devicePasswordPolicy": {
- "passwordQuality": "PASSWORD_QUALITY_ALPHABETIC"
}, - "minimumPasswordLength": 4,
- "permissionPolicy": "PERMISSION_POLICY_PROMPT",
- "deviceUpdatePolicy": {
- "type": "TYPE_INSTALL_AUTOMATIC",
- "maintenanceStart": 0,
- "maintenanceEnd": 0
}, - "settingsAccessLevel": "SYSTEM",
- "settingsAppPassword": "pa$$word"
}, - "updated_on": "2019-08-24T14:15:22Z",
- "created_on": "2019-08-24T14:15:22Z",
- "is_active": true
}
Returns Enterprise Policy instance
successful operation
User update error
Authorization information is missing or invalid
Not Found
Internal server error
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "enterprise": "string",
- "url": "string",
- "name": "string",
- "description": "string",
- "device_count": 0,
- "google_policy_id": "string",
- "policy": {
- "keyguardDisabled": true,
- "safeBootDisabled": true,
- "statusBarDisabled": true,
- "factoryResetDisabled": true,
- "screenshotDisabled": true,
- "usbConnectivityDisabled": true,
- "smsDisabled": true,
- "outgoingCallsDisabled": true,
- "cameraDisabled": true,
- "nfcBeamDisabled": true,
- "disablePlayStore": true,
- "usbFileTransferDisabled": true,
- "tetheringDisabled": true,
- "dateTimeConfigDisabled": true,
- "appUninstallDisabled": true,
- "googleAssistantDisabled": true,
- "disableLocalAppInstall": true,
- "adbDisabled": true,
- "phonePolicy": {
- "incomingNumbers": [
- "string"
], - "outgoingNumbers": [
- "string"
], - "dialer": "DEFAULT",
- "allowUssdCodes": false
}, - "frpGoogles": [
- {
- "type": "USER",
- "email": "user@example.com",
- "googleId": "string"
}
], - "googleAccountPermission": {
- "maxAccount": 0,
- "emails": [
- "user@example.com"
], - "domains": [
- "string"
]
}, - "devicePasswordPolicy": {
- "passwordQuality": "PASSWORD_QUALITY_ALPHABETIC"
}, - "minimumPasswordLength": 4,
- "permissionPolicy": "PERMISSION_POLICY_PROMPT",
- "deviceUpdatePolicy": {
- "type": "TYPE_INSTALL_AUTOMATIC",
- "maintenanceStart": 0,
- "maintenanceEnd": 0
}, - "settingsAccessLevel": "SYSTEM",
- "settingsAppPassword": "pa$$word"
}, - "updated_on": "2019-08-24T14:15:22Z",
- "created_on": "2019-08-24T14:15:22Z",
- "is_active": true
}
Emtpy response
The resource was deleted successfully.
Invalid request.
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Not Found.
Internal server error
{- "errors": [
- "string"
], - "message": "string",
- "status": 0
}
Returns EnterprisePolicy instance
successful operation
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Not Found.
Internal server error
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "enterprise": "string",
- "url": "string",
- "name": "string",
- "description": "string",
- "device_count": 0,
- "google_policy_id": "string",
- "policy": {
- "keyguardDisabled": true,
- "safeBootDisabled": true,
- "statusBarDisabled": true,
- "factoryResetDisabled": true,
- "screenshotDisabled": true,
- "usbConnectivityDisabled": true,
- "smsDisabled": true,
- "outgoingCallsDisabled": true,
- "cameraDisabled": true,
- "nfcBeamDisabled": true,
- "disablePlayStore": true,
- "usbFileTransferDisabled": true,
- "tetheringDisabled": true,
- "dateTimeConfigDisabled": true,
- "appUninstallDisabled": true,
- "googleAssistantDisabled": true,
- "disableLocalAppInstall": true,
- "adbDisabled": true,
- "phonePolicy": {
- "incomingNumbers": [
- "string"
], - "outgoingNumbers": [
- "string"
], - "dialer": "DEFAULT",
- "allowUssdCodes": false
}, - "frpGoogles": [
- {
- "type": "USER",
- "email": "user@example.com",
- "googleId": "string"
}
], - "googleAccountPermission": {
- "maxAccount": 0,
- "emails": [
- "user@example.com"
], - "domains": [
- "string"
]
}, - "devicePasswordPolicy": {
- "passwordQuality": "PASSWORD_QUALITY_ALPHABETIC"
}, - "minimumPasswordLength": 4,
- "permissionPolicy": "PERMISSION_POLICY_PROMPT",
- "deviceUpdatePolicy": {
- "type": "TYPE_INSTALL_AUTOMATIC",
- "maintenanceStart": 0,
- "maintenanceEnd": 0
}, - "settingsAccessLevel": "SYSTEM",
- "settingsAppPassword": "pa$$word"
}, - "updated_on": "2019-08-24T14:15:22Z",
- "created_on": "2019-08-24T14:15:22Z",
- "is_active": true
}