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 thehttps://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 usesgRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the enterprise in the formenterprises/{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 theOAuth 2.0 Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-01-09 UTC.