Page Summary
-
The
DELETErequest tohttps://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/tokenrevokes a user's activation token. -
The request requires authorization with the scope
https://www.googleapis.com/auth/androidenterprise. -
The path parameters
enterpriseIdanduserIdare required for the request. -
The request should not include a request body.
-
A successful response will have an empty body.
Revokes a previously generated token (activation code) for the user.
Request
HTTP request
DELETE https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/token
Parameters
| Parameter name | Value | Description |
|---|---|---|
| Path parameters | ||
enterpriseId |
string |
The ID of the enterprise. |
userId |
string |
The ID of the user. |
Authorization
This request requires authorization with the following scope:
| Scope |
|---|
https://www.googleapis.com/auth/androidenterprise |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns an empty response body.