Method: enterprises.delete

  • Permanently deletes an enterprise, including all associated accounts, data, and AM API devices.

  • This action is irreversible and only applicable to EMM-managed enterprises.

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

  • The request is sent as a DELETE to https://androidmanagement.googleapis.com/v1/{name=enterprises/*} with an empty body.

  • Successful deletion results in an empty response body.

Permanently deletes an enterprise and all accounts and data associated with it. Warning: this will result in a cascaded deletion of all AM API devices associated with the deleted enterprise. Only available for EMM-managed enterprises.

HTTP request

DELETE https://androidmanagement.googleapis.com/v1/{name=enterprises/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the enterprise in the form enterprises/{enterpriseId}.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidmanagement

For more information, see the OAuth 2.0 Overview.