Favicon

You are here: Home > API Reference > Android > Devices > Move emmDevice to segment

Move emmDevice to segment

Required Permission: mdm.android.device.move

Move emmDevice to segment

PUT
https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/devices/{emmDeviceId}/move
curl -X PUT "https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/devices/{emmDeviceId}/move" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "segmentId": 0
}'
const response = await fetch("https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/devices/{emmDeviceId}/move", {
  method: "PUT",
  headers: {
    Authorization: "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "segmentId": 0
  }),
});

const data = await response.json();
import requests

response = requests.put(
    "https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/devices/{emmDeviceId}/move",
    headers={"Authorization": "Bearer <YOUR_API_KEY>"},
    json={
      "segmentId": 0
    },
)

data = response.json()

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$
emmDeviceId string
required
Match pattern: ^[a-fA-F0-9]{24}$

Body Params application/json
segmentId integer required
≥ 0
{
    "segmentId": 0
}

Responses

200 Response application/json
status boolean optional
data object optional
id string optional
Match pattern: ^[a-fA-F0-9]{24}$
organization string optional
Match pattern: ^[a-fA-F0-9]{24}$
emmEnterprise string optional
Match pattern: ^[a-fA-F0-9]{24}$
mdmUser object optional
id string optional
Match pattern: ^[a-fA-F0-9]{24}$
email string optional
≤ 128 characters
deviceEmmPolicy object optional
id string optional
Unique Android Enterprise policy identifier used to track configuration rules and security settings throughout lifecycle.
Match pattern: ^[a-fA-F0-9]{24}$
name string optional
Human-readable policy name displayed in dashboard for administrative identification and organizational purposes throughout device management.
≤ 128 characters
description string optional
Detailed policy description explaining configuration purpose business requirements and device restrictions for documentation purposes.
≤ 256 characters
version string optional
Policy version identifier synchronized with Google Android Enterprise policy version for change tracking purposes.
≤ 128 characters
config object optional
Google Android Enterprise policy configuration object containing device restrictions security settings and compliance rules.
_config object optional
Internal configuration data restricted to administrator access level containing sensitive policy credentials and system metadata.
packages object optional
Application package information mapping containing installed app details versions and configuration for reporting purposes.
emmEnterprise string optional
Android Enterprise (EMM) account identifier linked to Google Managed Play for device and application management.
Match pattern: ^[a-fA-F0-9]{24}$
private boolean optional
Flag indicating whether policy is private to organization or shared across enterprise for template purposes.
assets array [object] optional
List of asset assignments for deploying files certificates configuration data and resources to managed Android devices.
assetsInfo array [object] optional
Enriched asset metadata including file sizes deployment status and version information for monitoring and auditing purposes.
bookmarks array [object] optional
updatedAt string optional
ISO timestamp of last policy modification for change tracking synchronization and audit trail purposes.
Format: date-time
createdAt string optional
ISO timestamp when policy was created in system for lifecycle tracking and compliance reporting purposes.
Format: date-time
agentConfiguration object optional
MDM agent behavior settings controlling location tracking application monitoring and network status reporting on Android devices.
kioskLauncherConfiguration object optional
Kiosk launcher customization settings defining home screen layout lock screen behavior and application restrictions for dedicated devices.
certificateProviderIds array [string] optional
Deprecated: Use certificateProviderAssignments instead. List of certificate provider identifiers for deploying PKI credentials and authentication certificates to Android devices.
certificateProviderAssignments array [object] optional
List of certificate provider assignments including credential storage preferences for deploying PKI credentials to Android devices.
applications array [object] optional
List of application assignments defining managed apps with installation actions configuration and update policies for deployment.
applicationsInfo array [object] optional
Enriched application metadata including app details names icons versions for dashboard display and reporting purposes.
segmentId integer optional
Segment identifier for scoping policy into an specific segment
≥ 0
exposeToChildren boolean optional
appliedEmmPolicy object optional
id string optional
Unique Android Enterprise policy identifier used to track configuration rules and security settings throughout lifecycle.
Match pattern: ^[a-fA-F0-9]{24}$
name string optional
Human-readable policy name displayed in dashboard for administrative identification and organizational purposes throughout device management.
≤ 128 characters
description string optional
Detailed policy description explaining configuration purpose business requirements and device restrictions for documentation purposes.
≤ 256 characters
version string optional
Policy version identifier synchronized with Google Android Enterprise policy version for change tracking purposes.
≤ 128 characters
config object optional
Google Android Enterprise policy configuration object containing device restrictions security settings and compliance rules.
_config object optional
Internal configuration data restricted to administrator access level containing sensitive policy credentials and system metadata.
packages object optional
Application package information mapping containing installed app details versions and configuration for reporting purposes.
emmEnterprise string optional
Android Enterprise (EMM) account identifier linked to Google Managed Play for device and application management.
Match pattern: ^[a-fA-F0-9]{24}$
private boolean optional
Flag indicating whether policy is private to organization or shared across enterprise for template purposes.
assets array [object] optional
List of asset assignments for deploying files certificates configuration data and resources to managed Android devices.
assetsInfo array [object] optional
Enriched asset metadata including file sizes deployment status and version information for monitoring and auditing purposes.
bookmarks array [object] optional
updatedAt string optional
ISO timestamp of last policy modification for change tracking synchronization and audit trail purposes.
Format: date-time
createdAt string optional
ISO timestamp when policy was created in system for lifecycle tracking and compliance reporting purposes.
Format: date-time
agentConfiguration object optional
MDM agent behavior settings controlling location tracking application monitoring and network status reporting on Android devices.
kioskLauncherConfiguration object optional
Kiosk launcher customization settings defining home screen layout lock screen behavior and application restrictions for dedicated devices.
certificateProviderIds array [string] optional
Deprecated: Use certificateProviderAssignments instead. List of certificate provider identifiers for deploying PKI credentials and authentication certificates to Android devices.
certificateProviderAssignments array [object] optional
List of certificate provider assignments including credential storage preferences for deploying PKI credentials to Android devices.
applications array [object] optional
List of application assignments defining managed apps with installation actions configuration and update policies for deployment.
applicationsInfo array [object] optional
Enriched application metadata including app details names icons versions for dashboard display and reporting purposes.
segmentId integer optional
Segment identifier for scoping policy into an specific segment
≥ 0
exposeToChildren boolean optional
emmPolicy object optional
id string optional
Match pattern: ^[a-fA-F0-9]{24}$
name string optional
≤ 128 characters
version string optional
≤ 128 characters
emmPolicyAssignments array [object] optional
emmPolicyId string optional
Android Enterprise policy unique identifier for assignment tracking and composition operations.
Match pattern: ^[a-fA-F0-9]{24}$
emmPolicy object optional
Complete Android Enterprise policy object with device restrictions, application deployments, and security configurations.
priority integer optional
Policy assignment priority determining precedence when multiple policies apply to device for conflict resolution.
≥ 0
emmPolicyAssignmentsEnforced array [object] optional
emmPolicyId string optional
Android Enterprise policy unique identifier for assignment tracking and composition operations.
Match pattern: ^[a-fA-F0-9]{24}$
emmPolicy object optional
Complete Android Enterprise policy object with device restrictions, application deployments, and security configurations.
priority integer optional
Policy assignment priority determining precedence when multiple policies apply to device for conflict resolution.
≥ 0
automationRule object optional
Automation rule object documenting which rule triggered policy assignment for audit trails and compliance reports.
state string optional
ACTIVE DISABLED DELETED PROVISIONING
displayName string optional
≤ 128 characters
tags array [string] optional
hasApplications boolean optional
config object optional
apiLevel integer optional
≥ 0
appliedPolicyVersion string optional
≤ 128 characters
appliedState string optional
ACTIVE DISABLED DELETED PROVISIONING
disabledReason object optional
enrollmentTime string optional
Format: date-time
displays array [object] optional
applicationReports string optional
hardwareInfo object optional
lastPolicySyncTime string optional
Format: date-time
lastStatusReportTime string optional
Format: date-time
managementMode string optional
MANAGEMENT_MODE_UNSPECIFIED DEVICE_OWNER PROFILE_OWNER
memoryInfo object optional
memoryEvents array [object] optional
powerManagementEvents array [object] optional
hardwareStatusSamples object optional
networkInfo object optional
deviceSettings object optional
policyCompliant boolean optional
previousDeviceNames array [string] optional
securityPosture object optional
softwareInfo object optional
systemProperties string optional
ownership string optional
OWNERSHIP_UNSPECIFIED COMPANY_OWNED PERSONALLY_OWNED
state string optional
ACTIVE DISABLED DELETED PROVISIONING
nonComplianceDetails array [object] optional
commonCriteriaModeInfo object optional
certificateReport array [object] optional
_config object optional
Only available for platform admin users
summary object optional
name string optional
≤ 256 characters
osVersion string optional
≤ 128 characters
managementMode string optional
DEVICE_OWNER
imei string optional
≤ 128 characters
battery string optional
≤ 128 characters
os string optional
≤ 128 characters
serialNumber string optional
≤ 128 characters
image string optional
≤ 128 characters
compliance object optional
manufacturer string optional
≤ 128 characters
model string optional
≤ 128 characters
udid string optional
≤ 128 characters
hostname string optional
≤ 128 characters
ipAddress string optional
≤ 128 characters
macAddress string optional
≤ 128 characters
smartAttributeAssignments array [object] optional
smartAttributeId string optional
Match pattern: ^[a-fA-F0-9]{24}$
smartAttribute object optional
smartAttributeAssignmentsEnforced array [object] optional
smartAttributeId string optional
Match pattern: ^[a-fA-F0-9]{24}$
smartAttribute object optional
smartAttributes array [object] optional
id string required
Match pattern: ^[a-fA-F0-9]{24}$
type string optional
constant enum manual selector script
label string optional
≤ 256 characters
value string required
updatedAt string required
Format: date-time
type string optional
≤ 128 characters
subType string optional
≤ 128 characters
lastLocation object optional
agent object optional
ip object optional
lastStatusReportTime string optional
Format: date-time
stateHistory array [object] optional
state string optional
ACTIVE DISABLED DELETED PROVISIONING
date string optional
Format: date-time
config object optional
lastReports object optional
sync string optional
Format: date-time
agent object optional
lostMode object optional
enabled boolean optional
startDate string optional
Format: date-time
endDate string optional
Format: date-time
stoppedBy string optional
admin user
lastLocation object optional
certificateReport array [object] optional
origin string optional
mdmAsset certificateProvider
originId string optional
Match pattern: ^[a-fA-F0-9]{24}$
state string optional
installed fail pending
errorCode string optional
≤ 256 characters
errorMessage string optional
≤ 1000 characters
updatedAt string optional
Format: date-time
challenge string optional
≤ 256 characters
keyPairAlias string optional
≤ 256 characters
commonName string optional
≤ 256 characters
isIdentity boolean optional
clientIdentity string optional
≤ 256 characters
certificateInfo object optional
enrolledDate string optional
Format: date-time
pushNotifications object optional
mdmAgent boolean optional
remoteSupport boolean optional
kioskLauncher boolean optional
updatedAt string optional
Format: date-time
createdAt string optional
Format: date-time
segmentId integer optional
≥ 0
devicePolicyStatus object optional
pushed boolean optional
audit object optional
{
    "status": true,
    "data": {
        "id": "string",
        "organization": "string",
        "emmEnterprise": "string",
        "mdmUser": {
            "id": "string",
            "email": "string"
        },
        "deviceEmmPolicy": {
            "id": "698f42e5457fafa13d088794",
            "name": "Corporate Security Policy - Android",
            "description": "Standard security policy for corporate Android devices with app restrictions",
            "version": "1",
            "config": {},
            "_config": {},
            "packages": {},
            "emmEnterprise": "698f42e5457fafa13d088795",
            "private": false,
            "assets": [
                {
                    "mdmAssetId": "698f42e5457fafa13d088796",
                    "location": "/sdcard/Company/config.json",
                    "assetName": "App Configuration",
                    "scope": "user"
                }
            ],
            "assetsInfo": [],
            "bookmarks": [
                {}
            ],
            "updatedAt": "2026-02-13T14: 30:00Z",
            "createdAt": "2026-02-13T10: 00:00Z",
            "agentConfiguration": {
                "allowLocation": true,
                "allowPackageTime": true,
                "allowPackageTransfer": true,
                "allowNetworkStatus": true
            },
            "kioskLauncherConfiguration": {
                "displayDeviceName": true,
                "settingAction": "GLOBAL",
                "whitelistedApps": [
                    "com.company.app1",
                    "com.company.app2"
                ],
                "escapeHatchPassword": "",
                "backgroundUrl": "https://cdn.company.com/wallpaper.jpg",
                "iconSize": "medium",
                "screenAlwaysOn": true,
                "unlockPassword": "",
                "inactivityLockTime": 300,
                "startingUpApps": [
                    {
                        "packageName": "com.company.dashboard",
                        "config": {}
                    }
                ],
                "appsLayout": [
                    {
                        "type": "app",
                        "package": "com.company.app1"
                    }
                ],
                "header": {
                    "text": "Company Name",
                    "fontSize": "large"
                },
                "footer": {
                    "text": "Support: [email protected]",
                    "fontSize": "small"
                }
            },
            "certificateProviderIds": [
                "698f42e5457fafa13d088797",
                "698f42e5457fafa13d088798"
            ],
            "certificateProviderAssignments": [
                {
                    "certificateProviderId": "698f42e5457fafa13d088797",
                    "storeCredentials": false
                }
            ],
            "applications": [
                {
                    "emmApplicationId": "string",
                    "configuration": "string",
                    "action": "forceInstall",
                    "updatePolicy": {},
                    "customAppConfig": {}
                }
            ],
            "applicationsInfo": [
                {
                    "emmApplicationId": "698f42e5457fafa13d088799",
                    "emmApplication": {}
                }
            ],
            "segmentId": 1,
            "exposeToChildren": true
        },
        "appliedEmmPolicy": {
            "id": "698f42e5457fafa13d088794",
            "name": "Corporate Security Policy - Android",
            "description": "Standard security policy for corporate Android devices with app restrictions",
            "version": "1",
            "config": {},
            "_config": {},
            "packages": {},
            "emmEnterprise": "698f42e5457fafa13d088795",
            "private": false,
            "assets": [
                {
                    "mdmAssetId": "698f42e5457fafa13d088796",
                    "location": "/sdcard/Company/config.json",
                    "assetName": "App Configuration",
                    "scope": "user"
                }
            ],
            "assetsInfo": [],
            "bookmarks": [
                {}
            ],
            "updatedAt": "2026-02-13T14: 30:00Z",
            "createdAt": "2026-02-13T10: 00:00Z",
            "agentConfiguration": {
                "allowLocation": true,
                "allowPackageTime": true,
                "allowPackageTransfer": true,
                "allowNetworkStatus": true
            },
            "kioskLauncherConfiguration": {
                "displayDeviceName": true,
                "settingAction": "GLOBAL",
                "whitelistedApps": [
                    "com.company.app1",
                    "com.company.app2"
                ],
                "escapeHatchPassword": "",
                "backgroundUrl": "https://cdn.company.com/wallpaper.jpg",
                "iconSize": "medium",
                "screenAlwaysOn": true,
                "unlockPassword": "",
                "inactivityLockTime": 300,
                "startingUpApps": [
                    {
                        "packageName": "com.company.dashboard",
                        "config": {}
                    }
                ],
                "appsLayout": [
                    {
                        "type": "app",
                        "package": "com.company.app1"
                    }
                ],
                "header": {
                    "text": "Company Name",
                    "fontSize": "large"
                },
                "footer": {
                    "text": "Support: [email protected]",
                    "fontSize": "small"
                }
            },
            "certificateProviderIds": [
                "698f42e5457fafa13d088797",
                "698f42e5457fafa13d088798"
            ],
            "certificateProviderAssignments": [
                {
                    "certificateProviderId": "698f42e5457fafa13d088797",
                    "storeCredentials": false
                }
            ],
            "applications": [
                {
                    "emmApplicationId": "string",
                    "configuration": "string",
                    "action": "forceInstall",
                    "updatePolicy": {},
                    "customAppConfig": {}
                }
            ],
            "applicationsInfo": [
                {
                    "emmApplicationId": "698f42e5457fafa13d088799",
                    "emmApplication": {}
                }
            ],
            "segmentId": 1,
            "exposeToChildren": true
        },
        "emmPolicy": {
            "id": "string",
            "name": "string",
            "version": "string"
        },
        "emmPolicyAssignments": [
            {
                "emmPolicyId": "698f42e5457fafa13d08879f",
                "emmPolicy": {},
                "priority": 1
            }
        ],
        "emmPolicyAssignmentsEnforced": [
            {
                "emmPolicyId": "698f42e5457fafa13d08879f",
                "emmPolicy": {},
                "priority": 1,
                "automationRule": {
                    "id": "698f42e5457fafa13d08879d",
                    "name": "Sales Team iOS Policies",
                    "deviceAudiences": [
                        {
                            "id": "698f42e5457fafa13d0887a7",
                            "name": "Sales Department",
                            "reasons": [
                                "tag:sales",
                                "user.department:Sales"
                            ]
                        }
                    ]
                }
            }
        ],
        "state": "ACTIVE",
        "displayName": "string",
        "tags": [
            "string"
        ],
        "hasApplications": true,
        "config": {
            "apiLevel": 0,
            "appliedPolicyVersion": "string",
            "appliedState": "ACTIVE",
            "disabledReason": {
                "localizedMessages": {},
                "defaultMessage": "string"
            },
            "enrollmentTime": "2024-01-01T00: 00:00Z",
            "displays": [
                {
                    "name": "string",
                    "displayId": 0,
                    "refreshRate": 0,
                    "state": "DISPLAY_STATE_UNSPECIFIED",
                    "width": 0,
                    "height": 0,
                    "density": 0
                }
            ],
            "applicationReports": "string",
            "hardwareInfo": {
                "brand": "string",
                "hardware": "string",
                "deviceBasebandVersion": "string",
                "manufacturer": "string",
                "serialNumber": "string",
                "model": "string",
                "batteryShutdownTemperatures": [
                    "string"
                ],
                "batteryThrottlingTemperatures": [
                    "string"
                ],
                "cpuShutdownTemperatures": [
                    "string"
                ],
                "cpuThrottlingTemperatures": [
                    "string"
                ],
                "gpuShutdownTemperatures": [
                    "string"
                ],
                "gpuThrottlingTemperatures": [
                    "string"
                ],
                "skinShutdownTemperatures": [
                    "string"
                ],
                "skinThrottlingTemperatures": [
                    "string"
                ]
            },
            "lastPolicySyncTime": "2024-01-01T00: 00:00Z",
            "lastStatusReportTime": "2024-01-01T00: 00:00Z",
            "managementMode": "MANAGEMENT_MODE_UNSPECIFIED",
            "memoryInfo": {
                "totalInternalStorage": "string",
                "totalRam": "string"
            },
            "memoryEvents": [
                {
                    "eventType": "MEMORY_EVENT_TYPE_UNSPECIFIED",
                    "createTime": "string",
                    "byteCount": "string"
                }
            ],
            "powerManagementEvents": [
                {
                    "eventType": "POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED",
                    "createTime": "string",
                    "batteryLevel": 0
                }
            ],
            "hardwareStatusSamples": {
                "createTime": "string",
                "batteryTemperatures": [
                    0
                ],
                "cpuTemperatures": [
                    0
                ],
                "gpuTemperatures": [
                    0
                ],
                "skinTemperatures": [
                    0
                ],
                "fanSpeeds": [
                    0
                ],
                "cpuUsages": [
                    0
                ]
            },
            "networkInfo": {
                "imei": "string",
                "meid": "string",
                "wifiMacAddress": "string",
                "networkOperatorName": "string",
                "telephonyInfos": [
                    {
                        "phoneNumber": "string",
                        "carrierName": "string"
                    }
                ]
            },
            "deviceSettings": {
                "isDeviceSecure": true,
                "unknownSourcesEnabled": true,
                "developmentSettingsEnabled": true,
                "adbEnabled": true,
                "isEncrypted": true,
                "encryptionStatus": "ENCRYPTION_STATUS_UNSPECIFIED",
                "verifyAppsEnabled": true
            },
            "policyCompliant": true,
            "previousDeviceNames": [
                "string"
            ],
            "securityPosture": {
                "devicePosture": "SECURE",
                "postureDetails": [
                    {
                        "securityRisk": "SECURITY_RISK_UNSPECIFIED",
                        "advice": {
                            "localizedMessages": {}
                        }
                    }
                ]
            },
            "softwareInfo": {
                "androidBuildNumber": "string",
                "androidBuildTime": "2024-01-01T00: 00:00Z",
                "androidDevicePolicyVersionCode": 0,
                "androidDevicePolicyVersionName": "string",
                "androidVersion": "string",
                "bootloaderVersion": "string",
                "deviceBuildSignature": "string",
                "deviceKernelVersion": "string",
                "primaryLanguageCode": "string",
                "securityPatchLevel": "string",
                "systemUpdateInfo": {
                    "updateStatus": "UPDATE_STATUS_UNKNOWN",
                    "updateReceivedTime": "2024-01-01T00: 00:00Z"
                }
            },
            "systemProperties": "string",
            "ownership": "OWNERSHIP_UNSPECIFIED",
            "state": "ACTIVE",
            "nonComplianceDetails": [
                {
                    "settingName": "string",
                    "nonComplianceReason": "API_LEVEL",
                    "packageName": "string",
                    "installationFailureReason": "INSTALLATION_FAILURE_REASON_UNKNOWN",
                    "fieldPath": "string"
                }
            ],
            "commonCriteriaModeInfo": {
                "commonCriteriaModeStatus": "COMMON_CRITERIA_MODE_STATUS_UNKNOWN"
            },
            "certificateReport": [
                {
                    "origin": "mdmAsset",
                    "originId": "string",
                    "state": "installed",
                    "errorCode": "string",
                    "errorMessage": "string",
                    "updatedAt": "2024-01-01T00: 00:00Z",
                    "challenge": "string",
                    "keyPairAlias": "string",
                    "commonName": "string",
                    "isIdentity": true,
                    "clientIdentity": "string",
                    "certificateInfo": {
                        "issuer": "string",
                        "serialNumber": "string",
                        "subject": "string",
                        "subjectAltName": "string",
                        "validFrom": "2024-01-01T00: 00:00Z",
                        "validTo": "2024-01-01T00: 00:00Z"
                    }
                }
            ]
        },
        "_config": {},
        "summary": {
            "name": "string",
            "osVersion": "string",
            "managementMode": "DEVICE_OWNER",
            "imei": "string",
            "battery": "string",
            "os": "string",
            "serialNumber": "string",
            "image": "string",
            "compliance": {},
            "manufacturer": "string",
            "model": "string",
            "udid": "string",
            "hostname": "string",
            "ipAddress": "string",
            "macAddress": "string"
        },
        "smartAttributeAssignments": [
            {
                "smartAttributeId": "string",
                "smartAttribute": {
                    "id": "string",
                    "organizationId": "string",
                    "segmentId": 0,
                    "exposeToChildren": true,
                    "name": "string",
                    "description": "string",
                    "output": {
                        "type": "string"
                    },
                    "input": {
                        "type": "constant",
                        "value": {
                            "admDevice": {
                                "value": "string"
                            },
                            "aosDevice": {
                                "value": "string"
                            },
                            "emmDevice": {
                                "value": "string"
                            },
                            "winDevice": {
                                "value": "string"
                            }
                        },
                        "source": "constant"
                    },
                    "counts": {
                        "android": {
                            "smartAttributeAssignments": 0,
                            "smartAttributeAssignmentsEnforced": 0
                        },
                        "apple": {
                            "smartAttributeAssignments": 0,
                            "smartAttributeAssignmentsEnforced": 0
                        },
                        "windows": {
                            "smartAttributeAssignments": 0,
                            "smartAttributeAssignmentsEnforced": 0
                        }
                    }
                }
            }
        ],
        "smartAttributeAssignmentsEnforced": [
            {
                "smartAttributeId": "string",
                "smartAttribute": {
                    "id": "string",
                    "organizationId": "string",
                    "segmentId": 0,
                    "exposeToChildren": true,
                    "name": "string",
                    "description": "string",
                    "output": {
                        "type": "string"
                    },
                    "input": {
                        "type": "constant",
                        "value": {
                            "admDevice": {
                                "value": "string"
                            },
                            "aosDevice": {
                                "value": "string"
                            },
                            "emmDevice": {
                                "value": "string"
                            },
                            "winDevice": {
                                "value": "string"
                            }
                        },
                        "source": "constant"
                    },
                    "counts": {
                        "android": {
                            "smartAttributeAssignments": 0,
                            "smartAttributeAssignmentsEnforced": 0
                        },
                        "apple": {
                            "smartAttributeAssignments": 0,
                            "smartAttributeAssignmentsEnforced": 0
                        },
                        "windows": {
                            "smartAttributeAssignments": 0,
                            "smartAttributeAssignmentsEnforced": 0
                        }
                    }
                }
            }
        ],
        "smartAttributes": [
            {
                "id": "string",
                "type": "constant",
                "label": "string",
                "value": "string",
                "updatedAt": "2024-01-01T00: 00:00Z"
            }
        ],
        "type": "string",
        "subType": "string",
        "lastLocation": {
            "agent": {
                "origin": "agent",
                "date": "2024-01-01T00: 00:00Z",
                "latitude": 0,
                "longitude": 0,
                "ip": "string",
                "lastReportDate": "2024-01-01T00: 00:00Z",
                "address": {
                    "address": "string",
                    "number": "string",
                    "postalCode": "string",
                    "city": "string",
                    "country": "string"
                }
            },
            "ip": {
                "origin": "agent",
                "date": "2024-01-01T00: 00:00Z",
                "latitude": 0,
                "longitude": 0,
                "ip": "string",
                "lastReportDate": "2024-01-01T00: 00:00Z",
                "address": {
                    "address": "string",
                    "number": "string",
                    "postalCode": "string",
                    "city": "string",
                    "country": "string"
                }
            }
        },
        "lastStatusReportTime": "2024-01-01T00: 00:00Z",
        "stateHistory": [
            {
                "state": "ACTIVE",
                "date": "2024-01-01T00: 00:00Z",
                "config": {}
            }
        ],
        "lastReports": {
            "sync": "2024-01-01T00: 00:00Z",
            "agent": {
                "location": "2024-01-01T00: 00:00Z",
                "packageTime": "2024-01-01T00: 00:00Z",
                "packageTransfer": "2024-01-01T00: 00:00Z"
            }
        },
        "lostMode": {
            "enabled": true,
            "startDate": "2024-01-01T00: 00:00Z",
            "endDate": "2024-01-01T00: 00:00Z",
            "stoppedBy": "admin",
            "lastLocation": {
                "latitude": 0,
                "longitude": 0,
                "batteryLevel": 0
            }
        },
        "certificateReport": [
            {
                "origin": "mdmAsset",
                "originId": "string",
                "state": "installed",
                "errorCode": "string",
                "errorMessage": "string",
                "updatedAt": "2024-01-01T00: 00:00Z",
                "challenge": "string",
                "keyPairAlias": "string",
                "commonName": "string",
                "isIdentity": true,
                "clientIdentity": "string",
                "certificateInfo": {
                    "issuer": "string",
                    "serialNumber": "string",
                    "subject": "string",
                    "subjectAltName": "string",
                    "validFrom": "2024-01-01T00: 00:00Z",
                    "validTo": "2024-01-01T00: 00:00Z"
                }
            }
        ],
        "enrolledDate": "2024-01-01T00: 00:00Z",
        "pushNotifications": {
            "mdmAgent": true,
            "remoteSupport": true,
            "kioskLauncher": true
        },
        "updatedAt": "2024-01-01T00: 00:00Z",
        "createdAt": "2024-01-01T00: 00:00Z",
        "segmentId": 0,
        "devicePolicyStatus": {
            "pushed": true,
            "audit": {
                "name": "string",
                "config": {
                    "version": "string"
                },
                "device": {
                    "version": "string"
                }
            }
        }
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}