Blocks device from accessing user data
HTTP request
POST https://cloudidentity.googleapis.com/v1/{name=devices/*/deviceUsers/*}:block
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Resource name of the Device in format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "customer": string } |
| Fields | |
|---|---|
customer |
Optional. Resource name of the customer. If you're using this API for your own organization, use |
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.deviceshttps://www.googleapis.com/auth/cloud-identity
For more information, see the Authorization guide.