<ph type="x-smartling-placeholder">
iframe에서 렌더링되어
권한을 부여할 수 있습니다. 기업 관리자가 확인해야 할 사항
권한을 부여하고 조직을 대신하여 이를 수락하여
승인하는 것이 좋습니다.
관리자는 다음을 통해 표시된 권한을 수락해야 합니다.
EMM 콘솔에서 별도의 UI 요소와 상호작용하여
이 URL을
approvalUrlInfo.approvalUrl 속성이 있는
Products.approve 호출을 통해 제품을 승인합니다.
이 URL은 최대 1일 동안 권한을 표시하는 데만 사용할 수 있습니다.
요청
HTTP 요청
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products/productId/generateApprovalUrl
매개변수
매개변수 이름
값
설명
경로 매개변수
enterpriseId
string
기업의 ID입니다.
productId
string
제품의 ID입니다.
선택적 쿼리 매개변수
languageCode
string
권한 이름 및 설명에 사용되는 BCP 47 언어 코드는
반환된 iframe(예: 'en-US')입니다.
제품의 권한 (있는 경우)을 표시하기 위해 iframe에서 렌더링할 수 있는 URL입니다. 이 URL은 Products.approve 호출을 사용하여 생성 후 24시간 이내에 한 번만 제품을 승인하는 데 사용할 수 있습니다. 제품이 현재 승인되지 않았으며 권한이 없는 경우 이 URL은 빈 페이지로 연결됩니다. 제품이 현재 승인된 경우 마지막으로 승인된 이후 해당 제품이 권한을 추가한 경우에만 URL이 생성되며 URL에는 아직 수락되지 않은 새 권한만 표시됩니다.
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eGenerates a URL for an iframe to display product permissions for enterprise admin approval, accessible until September 30, 2025.\u003c/p\u003e\n"],["\u003cp\u003eAdmins approve permissions through a separate UI element, triggering a \u003ccode\u003eProducts.approve\u003c/code\u003e call with the generated URL.\u003c/p\u003e\n"],["\u003cp\u003eThe URL is valid for 24 hours and displays only new permissions added since the last approval.\u003c/p\u003e\n"],["\u003cp\u003eThis method is deprecated, new integrations should refer to recommended alternatives.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Products: generateApprovalUrl\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). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nGenerates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. \n\nAdmins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the `approvalUrlInfo.approvalUrl` property in a `Products.approve` call to approve the product. This URL can only be used to display permissions for up to 1 day.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products/productId/generateApprovalUrl\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|-------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `productId` | `string` | The ID of the product. |\n| **Optional query parameters** |||\n| `languageCode` | `string` | The BCP 47 language code used for permission names and descriptions in the returned iframe, for instance \"en-US\". |\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```text\n{\n \"url\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `url` | `string` | A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and only within 24 hours of being generated, using the `Products.approve` call. If the product is currently unapproved and has no permissions, this URL will point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last approved, and the URL will only display those new permissions that have not yet been accepted. | |"]]