GET
/v1/organizations/:organizationId/mdm/apple/enterprise/policies/:admPolicyId/agent-config
Copy to clipboard
Retrieve agent configuration
Required Permission: mdm.apple.policy.get
Retrieves the MDM agent configuration settings derived from the policy for device deployment.
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
admPolicyId
string
required
Responses
200 Response
application/json
status
boolean
optional
data
object
optional
config
object
optional
checkInterval
integer
optional
allowRefreshAction
boolean
optional
ios
object
optional
location
object
optional
active
boolean
optional
refreshInterval
integer
optional
queueLength
integer
optional
applicationsTime
object
optional
active
boolean
optional
queueLength
integer
optional
reportLimit
integer
optional
refreshInterval
integer
optional
applicationsTransfer
object
optional
active
boolean
optional
queueLength
integer
optional
reportLimit
integer
optional
refreshInterval
integer
optional
macos
object
optional
location
object
optional
active
boolean
optional
refreshInterval
integer
optional
queueLength
integer
optional
applicationsTime
object
optional
active
boolean
optional
queueLength
integer
optional
reportLimit
integer
optional
refreshInterval
integer
optional
applicationsTransfer
object
optional
active
boolean
optional
queueLength
integer
optional
reportLimit
integer
optional
refreshInterval
integer
optional
scripts
object
optional
active
boolean
optional
checkInterval
integer
optional
deviceInfo
object
optional
batteryUsage
object
optional
active
boolean
optional
refreshInterval
integer
optional
queueLength
integer
optional
bluetooth
object
optional
active
boolean
optional
refreshInterval
integer
optional
systemInfo
object
optional
active
boolean
optional
refreshInterval
integer
optional
blackList
array [string]
optional
{
"status": true,
"data": {
"config": {
"checkInterval": 300,
"allowRefreshAction": true
},
"ios": {
"location": {
"active": true,
"refreshInterval": 600,
"queueLength": 100
}
},
"macos": {
"location": {
"active": true,
"refreshInterval": 600,
"queueLength": 100
}
}
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}