Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Remove e invalida as credenciais especificadas da conta de serviço
associados a esta empresa. A conta de serviço que fez a chamada precisa ter sido
recuperados chamando Enterprises.GetServiceAccount e que precisa ser definido
que a conta de serviço da empresa chamando Enterprises.SetAccount.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eThis method removes and invalidates specified credentials for an enterprise's service account, requiring prior retrieval and setup of the service account.\u003c/p\u003e\n"],["\u003cp\u003eIt is deprecated and will be inaccessible after September 30, 2025, with new integrations directed to alternative recommendations.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is necessary for using this method.\u003c/p\u003e\n"],["\u003cp\u003eThe request involves specifying the enterprise and key IDs as path parameters in a DELETE request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the method returns an empty response body, signifying completion of the credential removal.\u003c/p\u003e\n"]]],[],null,["# Serviceaccountkeys: delete\n\n| **Note:** Requires [authorization](#auth).\n\n\u003cbr /\u003e\n\n| **Deprecated:** New integrations cannot use this method and can refer to our [new\n| recommendations](/android/work/deprecations#recommended_alternative_4). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nRemoves and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nDELETE https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys/keyId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `keyId` | `string` | The ID of the key. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]