Ne spécifiez pas de corps de requête pour cette méthode.
Réponse
Si la requête aboutit, cette méthode renvoie un corps de réponse vide.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/19 (UTC).
[null,null,["Dernière mise à jour le 2024/08/19 (UTC)."],[[["\u003cp\u003eThis method removes an app entitlement for a specific user within an enterprise.\u003c/p\u003e\n"],["\u003cp\u003eIt will be deprecated after September 30, 2025, and new integrations should refer to updated recommendations.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should use a DELETE request to the specified endpoint, including enterprise ID, user ID, and entitlement ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty for successful execution.\u003c/p\u003e\n"]]],[],null,["# Entitlements: 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_2). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nRemoves an entitlement to an app for a user.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nDELETE https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/entitlements/entitlementId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|-----------------|----------|-----------------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `entitlementId` | `string` | The ID of the entitlement (a product ID), e.g. \"app:com.google.android.gm\". |\n| `userId` | `string` | The ID of the user. |\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."]]