Important: We are no longer accepting new registrations for the Play EMM API.
Learn more.
Users: revokeDeviceAccess
Revokes access to all devices currently provisioned to the user. The user
will no longer be able to use the managed Play store on any of their
managed devices.
This call only works with EMM-managed accounts.
Request
HTTP request
DELETE https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/deviceAccess
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["Revokes all device access for a given user, preventing them from using the managed Play store on any managed device."],["This action only applies to Enterprise Mobility Management (EMM)-managed accounts and requires proper authorization."],["The request needs the enterprise and user IDs and is sent as an HTTP DELETE request to a specific endpoint."],["No request body is necessary, and a successful operation results in an empty response body."]]],[]]