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,"removeResetLock": boolean}
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.
removeResetLock
boolean
Optional. Specifies if a user is able to factory reset a device after a Device Wipe. On iOS, this is called "Activation Lock", while on Android, this is known as "Factory Reset Protection". If true, this protection will be removed from the device, so that a user can successfully factory reset. If false, the setting is untouched on the device.
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-11-12 UTC."],[[["This API endpoint, `POST https://cloudidentity.googleapis.com/v1/{name=devices/*}:wipe`, is used to wipe all data on a specified device."],["The `name` parameter is required and represents the resource name of the device, following the format `devices/{device}/deviceUsers/{deviceUser}`."],["The request body optionally includes a `customer` field for specifying the customer associated with the device and a `removeResetLock` boolean to determine if factory reset protection should be removed."],["Successful requests return an `Operation` instance in the response body."],["Authorization requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-identity.devices` or `https://www.googleapis.com/auth/cloud-identity`."]]],[]]