Method: enterprises.delete

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.