Stay organized with collections
Save and categorize content based on your preferences.
Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app is installed on a device that is used for personal and work purposes, and the user is logged in to the Gmail app with their personal account as well as their work account, wiping the "deviceUser" by their work administrator will not affect their personal account within Gmail or other apps such as Photos.
HTTP request
POST https://cloudidentity.googleapis.com/v1/{name=devices/*/deviceUsers/*}:wipe
Required. Resource name of the Device in format: devices/{device}/deviceUsers/{deviceUser}, where device is the unique ID assigned to the Device, and deviceUser is the unique ID assigned to the User.
Request body
The request body contains data with the following structure:
JSON representation
{"customer": string}
Fields
customer
string
Optional. Resource name of the 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.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-17 UTC."],[[["This operation wipes only the user's work account data from a device, leaving personal data and accounts unaffected."],["The HTTP POST request to initiate this action is made to `https://cloudidentity.googleapis.com/v1/{name=devices/*/deviceUsers/*}:wipe`."],["The `name` path parameter, formatted as `devices/{device}/deviceUsers/{deviceUser}`, is required to specify the target device and user."],["An optional `customer` field in the request body allows specification of the customer's resource name, either `customers/my_customer` for your own organization or `customers/{customer}` for another organization."],["Successful execution returns an instance of `Operation`, and authorization requires either the `https://www.googleapis.com/auth/cloud-identity.devices` or `https://www.googleapis.com/auth/cloud-identity` OAuth scopes."]]],[]]