Method: enterprises.delete

  • The DELETE enterprises API call permanently removes an enterprise and all associated accounts and data, including all AM API devices.

  • This operation is only available for enterprises that are managed by an EMM.

  • The HTTP request uses a DELETE method to the specified enterprise resource.

  • The request body must be empty, and a successful response will return an empty JSON object.

  • Authorization requires the https://www.googleapis.com/auth/androidmanagement OAuth scope.

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.