Perform Device Action

Perform an action on a device in G Suite.

Unless otherwise indicated, field types are text.

Required fields are indicated by a red asterisk on the Action Card.


  • User Device

    • Resource ID: unique identifier that the API service uses to identify the mobile device

    • Action:

      • Remotely Wipes all G Suite Data from Device: remotely wipes only G Suite data from the device.

      • Remotely Wipes All Data from Device: remotely wipes all data on the device.

      • Approve the Device: approves the device; if you've enabled device activation, devices that register after the device activation setting is enabled will need to be approved before they can start syncing with your domain. Enabling device activation forces the device user to install the Device Policy app to sync with G Suite.

      • Block Access to G Suite Data: blocks access to G Suite data (mail, calendar, and contacts) on the device. The user can still access their mail, calendar, and contacts from a desktop computer or mobile browser.

      • Cancel Remote Wipe Then Activate: cancels a remote wipe of the device and then reactivates it.

      • Cancel Remote Wipe Then Block: cancels a remote wipe of the device and then blocks it.


  • Response

    • Status Code (number): success or failure of your HTTP request; here is a list of all status codes