Retrieve policy details
Required Permission: mdm.apple.policy.get
Retrieves detailed configuration, restrictions, and assignation information for a specific policy.
Request
authorization
Authorization: Bearer <token>
Responses
application/json
{
"status": true,
"data": {
"id": "698f41b2457fafa13d088793",
"organization": "598f469d457fafa13d088795",
"admEnterprise": "698f42e5457fafa13d088794",
"targetType": "device",
"attachedProfile": {},
"name": "Corporate Security Policy - iOS",
"profiles": [
{
"id": "string",
"organization": "string",
"admEnterprise": "string",
"admPolicy": "string",
"targetType": "device",
"name": "string",
"config": {},
"certificates": [
{
"mdmAssetId": "string",
"format": {
"uuid": "uuid",
"base64": "base64"
},
"location": "string",
"password": "string",
"allowAllAppsAccess": true,
"keyIsExtractable": true
}
],
"type": "attached",
"UUID": "string",
"version": 0,
"updatedAt": "2024-01-01T00: 00:00Z",
"createdAt": "2024-01-01T00: 00:00Z",
"assignedTo": {
"policies": [
{
"id": "string",
"name": "string"
}
],
"devices": [
{
"id": "string",
"displayName": "string"
}
]
},
"useCustomFileVaultCertificates": true,
"parentAdmProfileId": "string"
}
],
"applications": [
{
"admApplication": "698f42e5457fafa13d088794",
"managed": true,
"vpp": true,
"iOSApp": true,
"configuration": {},
"action": "forceInstall",
"actionStatus": "forceInstall",
"scripts": {},
"updatePolicy": {}
}
],
"applicationsInfo": [
{}
],
"books": [
{
"type": "asset",
"id": "698f42e5457fafa13d088794"
}
],
"booksInfo": [
{}
],
"scripts": [
{
"type": "loop",
"id": "698f42e5457fafa13d088794",
"loopTime": 3600,
"arguments": "--verbose --check-compliance",
"name": "Security Compliance Check",
"description": "Validates device security posture against organizational standards",
"runner": "bash"
}
],
"scriptsInfo": [
{}
],
"bookmarks": [
{
"title": "Employee Portal",
"description": "Internal employee self-service portal",
"url": "https://portal.company.com",
"iconBase64": "",
"iconUrl": "https://portal.company.com/icon.png"
}
],
"assets": [
{
"mdmAssetId": "698f41b2457fafa13d088793",
"location": "/Library/Application Support/Company/config.json",
"assetName": "App Configuration",
"scope": "system"
}
],
"assetsInfo": [
{}
],
"version": 3,
"updatedAt": "2026-02-13T14: 30:00Z",
"createdAt": "2026-02-13T10: 00:00Z",
"agentConfiguration": {
"allowLocation": true,
"allowLocationMacos": true,
"allowPackageTime": true,
"allowPackageTransfer": true,
"allowDeviceInfoBatteryUsage": true,
"allowDeviceInfoBluetooth": true,
"allowDeviceInfoSystemInfo": true,
"appBlacklist": [
{
"bundleId": "com.example.unauthorized",
"action": "block"
}
]
},
"segmentId": "1"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}