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 2025-08-06 UTC."],[[["\u003cp\u003eThis operation wipes only the user's work account data from a device, leaving personal data and accounts unaffected.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP POST request to initiate this action is made to \u003ccode\u003ehttps://cloudidentity.googleapis.com/v1/{name=devices/*/deviceUsers/*}:wipe\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter, formatted as \u003ccode\u003edevices/{device}/deviceUsers/{deviceUser}\u003c/code\u003e, is required to specify the target device and user.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003ecustomer\u003c/code\u003e field in the request body allows specification of the customer's resource name, either \u003ccode\u003ecustomers/my_customer\u003c/code\u003e for your own organization or \u003ccode\u003ecustomers/{customer}\u003c/code\u003e for another organization.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution returns an instance of \u003ccode\u003eOperation\u003c/code\u003e, and authorization requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-identity.devices\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-identity\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: devices.deviceUsers.wipe\n\nWipes 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.\n\n### HTTP request\n\n`POST https://cloudidentity.googleapis.com/v1/{name=devices/*/deviceUsers/*}:wipe`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/identity/docs/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-identity.devices`\n- `https://www.googleapis.com/auth/cloud-identity`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]