Serviceaccountkeys: delete

  • This method removes and invalidates specified credentials for the service account associated with an enterprise.

  • This method is deprecated and will no longer be accessible after September 30, 2025.

  • Authorization with thehttps://www.googleapis.com/auth/androidenterprise scope is required to use this method.

  • The request uses a DELETE HTTP method tohttps://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys/keyId, requiringenterpriseId andkeyId as path parameters.

Note:Requiresauthorization.

Deprecated: New integrations cannot use this method and can refer toour newrecommendations.
This method will no longer be accessible byanyone after September 30, 2025.Removes and invalidates the specified credentials for the service accountassociated with this enterprise. The calling service account must have beenretrieved by calling Enterprises.GetServiceAccount and must have been setas the enterprise service account by calling Enterprises.SetAccount.

Request

HTTP request

DELETE https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys/keyId

Parameters

Parameter nameValueDescription
Path parameters
enterpriseIdstring The ID of the enterprise.
keyIdstring The ID of the key.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/androidenterprise

For more information, see theauthentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

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 2024-10-31 UTC.