Delete Device
Deletes the specified device.
Basic Parameters
Parameter | Description |
---|---|
Customer | If you're using this API for your own organization, use customers/my_customer. If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs. |
Device ID | The unique ID assigned to the Device. |
View | The location of the device to delete. VIEW_UNSPECIFIED - Default value. The value is unused. The returned results are the same as in the Devices tab in the Google Workspace Mobile & Endpoints UI. COMPANY_INVENTORY - This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). This includes devices that may be unaassigned or assigned to users. USER_ASSIGNED_DEVICES - This view contains all devices with at least one user registered on the device. Each device in the response contains all device information, except for asset tags. |
Advanced Parameters
Parameter | Description |
---|---|
Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection. If not specified, the delegated user is the one provided in the connection. Has no effect when using an OAuth connection. NOTE: the connection details are not edited by this input. |
Example Output
{
"done": true,
"response": {
"@type": "type.googleapis.com/google.protobuf.Empty"
}
}
Workflow Library Example
Delete Device with Google Workspace and Send Results Via Email
Preview this Workflow on desktop