Update Windows device configuration and assignments.
Required Permission: mdm.windows.device.update
Modifies the device properties including display names, tags, and policy assignments to maintain accurate inventory and apply security configurations consistently.
Request
authorization
Authorization: Bearer <token>
application/json
{
"displayName": "Sales Team Laptop - Updated",
"tags": [
"finance",
"headquarters",
"priority"
],
"mdmUserId": "507f1f77bcf86cd799439099",
"winPolicyId": "507f1f77bcf86cd7994390aa",
"winPolicyAssignments": [
{
"winPolicyId": "string",
"priority": 0
}
],
"segmentId": "1"
}
Responses
application/json
{
"status": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"organizationId": "507f1f77bcf86cd799439022",
"winEnterpriseId": "507f1f77bcf86cd799439033",
"mdmUser": {
"id": "507f1f77bcf86cd799439066",
"email": "[email protected]"
},
"displayName": "Marketing Dept Laptop",
"tags": [
"sales",
"field-team",
"remote"
],
"winId": "device-win-mdm-12345678",
"state": "ACTIVE",
"config": {
"./Device/Vendor/MSFT/Policy/Config/Security/RequireDeviceEncryption": "1"
},
"configDates": {
"securityPolicy": "2026-02-10T10: 00: 00.000Z",
"applications": "2026-02-09T15: 30: 00.000Z"
},
"customConfig": {
"customField1": "value1",
"customField2": true
},
"summary": {
"name": "DESKTOP-ABC123",
"osVersion": "10.0.19045.3803",
"osVersionName": "Windows 11 Pro",
"os": "Windows",
"serialNumber": "SN123456789",
"imei": "356938035643809",
"battery": "85%",
"expirationTimestamp": "2027-02-10T00: 00: 00.000Z",
"supervised": true,
"image": "https://cdn.example.com/device-surface-laptop.png",
"compliance": {
"compliant": true,
"lastCheck": "2026-02-10T12: 00: 00.000Z"
}
},
"scripts": [
{
"type": "once",
"id": "507f1f77bcf86cd799439077",
"loopTime": 60,
"resetDate": "2026-02-10T00: 00: 00.000Z",
"arguments": "-ExecutionPolicy Bypass -Parameter1 Value1",
"argumentsProcessed": "-ExecutionPolicy Bypass -Parameter1 ProcessedValue",
"name": "System Configuration Script",
"description": "Configures network settings and security policies",
"runner": "powershell.exe"
}
],
"scriptsInfo": [
{}
],
"lastStatusReportTime": "2026-02-10T12: 30: 00.000Z",
"type": "windows",
"winPolicy": {
"id": "507f1f77bcf86cd799439011",
"organizationId": "507f1f77bcf86cd799439022",
"winEnterpriseId": "507f1f77bcf86cd799439033",
"name": "Corporate Security Baseline",
"config": {
"./Device/Vendor/MSFT/Policy/Config/Security/RequireDeviceEncryption": "1"
},
"applications": [
{
"winApplicationId": "507f1f77bcf86cd799439044",
"configuration": {
"language": "en",
"edition": "enterprise"
},
"action": "available",
"updatePolicy": {
"autoUpdate": true,
"allowedVersions": ">=1.0.0"
}
}
],
"applicationsInfo": [
{}
],
"bookmarks": [
{
"title": "string",
"description": "string",
"url": "string",
"iconBase64": "string",
"iconUrl": "string"
}
],
"scripts": [
{
"type": "once",
"id": "string",
"loopTime": 0,
"resetDate": "2024-01-01T00: 00:00Z",
"arguments": "string",
"argumentsProcessed": "string",
"name": "string",
"description": "string",
"runner": "string"
}
],
"scriptsInfo": [
{}
],
"admxConfigs": [
{
"winAdmxConfigId": "507f1f77bcf86cd799439055"
}
],
"admxConfigsInfo": [
{
"id": "507f1f77bcf86cd799439055",
"appName": "Microsoft Edge",
"settingType": "Privacy",
"fileName": "edge.admx",
"description": "Controls Edge browser privacy settings"
}
],
"agentConfiguration": {
"enabled": true,
"buildTag": "v2.5.0",
"allowLocation": true,
"allowNetworkStatus": true,
"allowPackageTime": false,
"allowPackageTransfer": false
},
"assets": [
{
"mdmAssetId": "string",
"location": "string",
"assetName": "string",
"scope": "user"
}
],
"assetsInfo": [
{}
],
"version": 5,
"segmentId": "1",
"updatedAt": "2026-02-10T14: 30: 00.000Z",
"createdAt": "2025-10-15T09: 00: 00.000Z"
},
"deviceWinPolicy": {
"id": "507f1f77bcf86cd799439011",
"organizationId": "507f1f77bcf86cd799439022",
"winEnterpriseId": "507f1f77bcf86cd799439033",
"name": "Corporate Security Baseline",
"config": {
"./Device/Vendor/MSFT/Policy/Config/Security/RequireDeviceEncryption": "1"
},
"applications": [
{
"winApplicationId": "507f1f77bcf86cd799439044",
"configuration": {
"language": "en",
"edition": "enterprise"
},
"action": "available",
"updatePolicy": {
"autoUpdate": true,
"allowedVersions": ">=1.0.0"
}
}
],
"applicationsInfo": [
{}
],
"bookmarks": [
{
"title": "string",
"description": "string",
"url": "string",
"iconBase64": "string",
"iconUrl": "string"
}
],
"scripts": [
{
"type": "once",
"id": "string",
"loopTime": 0,
"resetDate": "2024-01-01T00: 00:00Z",
"arguments": "string",
"argumentsProcessed": "string",
"name": "string",
"description": "string",
"runner": "string"
}
],
"scriptsInfo": [
{}
],
"admxConfigs": [
{
"winAdmxConfigId": "507f1f77bcf86cd799439055"
}
],
"admxConfigsInfo": [
{
"id": "507f1f77bcf86cd799439055",
"appName": "Microsoft Edge",
"settingType": "Privacy",
"fileName": "edge.admx",
"description": "Controls Edge browser privacy settings"
}
],
"agentConfiguration": {
"enabled": true,
"buildTag": "v2.5.0",
"allowLocation": true,
"allowNetworkStatus": true,
"allowPackageTime": false,
"allowPackageTransfer": false
},
"assets": [
{
"mdmAssetId": "string",
"location": "string",
"assetName": "string",
"scope": "user"
}
],
"assetsInfo": [
{}
],
"version": 5,
"segmentId": "1",
"updatedAt": "2026-02-10T14: 30: 00.000Z",
"createdAt": "2025-10-15T09: 00: 00.000Z"
},
"winPolicyAssignments": [
{
"winPolicyId": "698f42e5457fafa13d0887a3",
"winPolicy": {},
"priority": 1
}
],
"winPolicyAssignmentsEnforced": [
{
"winPolicyId": "698f42e5457fafa13d0887a3",
"winPolicy": {},
"priority": 1,
"automationRule": {
"id": "698f42e5457fafa13d08879d",
"name": "Sales Team iOS Policies",
"deviceAudiences": [
{
"id": "698f42e5457fafa13d0887a7",
"name": "Sales Department",
"reasons": [
"tag:sales",
"user.department:Sales"
]
}
]
}
}
],
"subType": "device",
"stateHistory": [
{
"state": "ACTIVE",
"date": "2025-10-15T09: 15: 00.000Z",
"config": {
"reason": "initial-enrollment"
}
}
],
"lastLocation": {
"agent": {
"origin": "agent",
"date": "2026-02-10T12: 00: 00.000Z",
"latitude": 40.7128,
"longitude": -74.006,
"ip": "203.0.113.45",
"lastReportDate": "2026-02-10T12: 00: 00.000Z",
"address": {
"address": "123 Main Street",
"number": "123",
"postalCode": "10001",
"city": "New York",
"country": "United States"
}
},
"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"
}
}
},
"refreshInfoNeeded": [
"hardware",
"applications"
],
"enrolledDate": "2025-10-15T09: 15: 00.000Z",
"updatedAt": "2026-02-10T14: 30: 00.000Z",
"createdAt": "2025-10-15T09: 00: 00.000Z"
}
}
application/json
{
"status": false,
"error": {
"code": 5050,
"message": "Feature not allowed for you billing plan"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}