List commands grouped by type
Required Permission: mdm.apple.command.list
Retrieves commands for the specified target, grouped by command type for consolidated viewing.
Request
authorization
Authorization: Bearer <token>
Responses
application/json
{
"status": true,
"data": {
"items": [
{
"groupName": "DeviceInformation",
"lastDate": "2026-02-10T14: 30:00Z",
"commands": [
{
"id": "507f1f77bcf86cd799439011",
"status": "Acknowledged",
"createdAt": "2026-02-10T12: 00:00Z"
}
]
}
],
"totalDocs": 0,
"limit": 0,
"hasPrevPage": true,
"hasNextPage": true,
"page": 0,
"totalPages": 0,
"prevPage": 0,
"nextPage": 0,
"lean": true
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}