با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تمام اطلاعات کاربری فعال برای حساب خدمات مرتبط با این شرکت را فهرست می کند. فقط شناسه و نوع کلید برگردانده می شود. حساب سرویس تماس باید با فراخوانی Enterprises.GetServiceAccount بازیابی شده باشد و باید با تماس Enterprises.SetAccount به عنوان حساب خدمات سازمانی تنظیم شده باشد.
درخواست کنید
درخواست HTTP
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis method lists active credentials (ID and key type only) for an enterprise's associated service account, but is deprecated and will be inaccessible after September 30, 2025.\u003c/p\u003e\n"],["\u003cp\u003eTo use this method, the calling service account must be retrieved and set as the enterprise service account using specific API calls.\u003c/p\u003e\n"],["\u003cp\u003eNew integrations should refer to the recommended alternatives provided in the documentation instead of using this deprecated method.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is required to use this API method.\u003c/p\u003e\n"]]],[],null,["# Serviceaccountkeys: list\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.**\nLists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. 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```\nGET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\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 a response body with the following structure:\n\n```objective-c\n{\n \"serviceAccountKey\": [\n serviceaccountkeys Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------|--------|----------------------------------|-------|\n| `serviceAccountKey[]` | `list` | The service account credentials. | |"]]