Favicon

You are here: Home > API Reference > Android > Commands

Commands

Explore our comprehensive documentation for Commands.

GET Retrieve command details
/v1/organizations/:organizationId/mdm/android/enterprise/devices/:emmDeviceId/commands/:emmCommandId

Retrieves detailed information and execution status for a specific device command.

GET List device commands
/v1/organizations/:organizationId/mdm/android/enterprise/devices/:emmDeviceId/commands

Retrieves a paginated list of commands issued to the specified Android Enterprise device.

GET Get AOS command push delivery status
/v1/organizations/:organizationId/mdm/aosp/enterprise/devices/:aosDeviceId/commands/:aosCommandId/push-status

Retrieve delivery status from the push provider for a specific command.

GET Get AOS command by Id
/v1/organizations/:organizationId/mdm/aosp/enterprise/devices/:aosDeviceId/commands/:aosCommandId
GET List AOS commands
/v1/organizations/:organizationId/mdm/aosp/enterprise/devices/:aosDeviceId/commands

Get AOS commands for a device

POST Cancel pending command
/v1/organizations/:organizationId/mdm/android/enterprise/devices/:emmDeviceId/commands/:emmCommandId/cancel

Cancels a pending command before execution, preventing it from being applied to the device.

POST Create device command
/v1/organizations/:organizationId/mdm/android/enterprise/devices/:emmDeviceId/commands

Creates and queues a new management command for execution on the target device.

POST Cancel AOS command
/v1/organizations/:organizationId/mdm/aosp/enterprise/devices/:aosDeviceId/commands/:aosCommandId/cancel

Cancel a pending AOS command. DISENROLL commands are canceled only when the push provider still reports the push as pending; in that case the device is restored from pending disenroll to active.

POST Create AOS command
/v1/organizations/:organizationId/mdm/aosp/enterprise/devices/:aosDeviceId/commands

Create a new command for an AOS device