Users: delete

  • Deletes an EMM-managed user from the enterprise.

  • Requires authorization with the https://www.googleapis.com/auth/androidenterprise scope.

  • Uses an HTTP DELETE request to the specified URL with enterpriseId and userId.

  • The request body should be empty.

  • A successful deletion results in an empty response body.

Deleted an EMM-managed user.

Request

HTTP request

DELETE https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId

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.