# Cancel AOS command

> **Required Permission:** `mdm.aosp.command.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.

Source: https://docs.applivery.com/en/api/aosp/commands/post-cancel/

---

# Cancel AOS command

**Required Permission:** `mdm.aosp.command.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.

_[ApiSecurity schema — see the canonical page]_

_[ApiParams schema — see the canonical page]_

No request body.

_[ApiResponse schema — see the canonical page]_
