Perform Device Action

Perform an action on a device in Google Workspace.

Input

Field Definition Type Required
User Device
Resource ID Unique identifier that the API service uses to identify the mobile device. String TRUE
Action Remotely Wipes all Google Workspace Data from Device: remotely wipes only Google Workspace 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 Google Workspace.

Block Access to Google Workspace Data: blocks access to Google Workspace 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.

Dropdown TRUE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Google Workspace Admin connector

Workflow elements

Google Workspace API documentation