Method: devices.deviceUsers.delete

Deletes the specified DeviceUser. This also revokes the user's access to device data.

HTTP request

DELETE https://cloudidentity.googleapis.com/v1/{name=devices/*/deviceUsers/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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.

Query parameters

Parameters
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.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-identity.devices
  • https://www.googleapis.com/auth/cloud-identity

For more information, see the Authentication Overview.