Enterprises: generateEnterpriseUpgradeUrl
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기존 기업용 관리 Google Play 계정을 관리 Google 도메인으로 업그레이드하기 위한 기업 업그레이드 URL을 생성합니다.
자세한 내용은
엔터프라이즈 업그레이드 가이드를 참고하세요.
요청
HTTP 요청
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/generateEnterpriseUpgradeUrl
매개변수
매개변수 이름 |
값 |
설명 |
경로 매개변수 |
enterpriseId |
string |
기업의 ID입니다.
|
선택적 쿼리 매개변수 |
adminEmail |
string |
선택사항입니다. 업그레이드 프로세스의 일환으로 기업 가입 양식의 관리자 입력란을 미리 채우는 데 사용되는 이메일 주소입니다. 이 값은 힌트일 뿐이며 사용자가 변경할 수 있습니다. 개인 이메일 주소는 허용되지 않습니다.
`allowedDomains` 가 비어 있지 않으면 `allowedDomains` 중 하나에 속해야 합니다.
|
allowedDomains |
string |
선택사항입니다. 관리 이메일에 허용되는 도메인 목록입니다. IT 관리자는 이 목록에 없는 도메인 이름이 포함된 이메일 주소를 입력할 수 없습니다.
이 목록에 있는 도메인의 하위 도메인은 허용되지 않지만 도메인 이름 앞에 `*.` 이 접두사로 추가된 두 번째 항목을 추가하면 허용됩니다 (예: *.example.com). 필드가 없거나 빈 목록인 경우 IT 관리자는 유효한 도메인 이름을 자유롭게 사용할 수 있습니다. 개인 이메일 도메인은 허용되지 않습니다.
|
승인
다음 범위를 사용하여 이 요청을 인증받아야 합니다.
범위 |
https://www.googleapis.com/auth/androidenterprise |
자세한 내용은 인증 및 승인 페이지를 참고하세요.
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공할 경우 이 메소드는 다음과 같은 구조의 응답 본문을 반환합니다.
{
"url": string
}
속성 이름 |
값 |
설명 |
참고 |
url |
string |
엔터프라이즈 관리자가 엔터프라이즈를 업그레이드할 수 있는 URL입니다. 페이지를 iframe에서 렌더링할 수 없습니다. |
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-06-10(UTC)
[null,null,["최종 업데이트: 2025-06-10(UTC)"],[],[],null,["# Enterprises: generateEnterpriseUpgradeUrl\n\n| **Note:** Requires [authorization](#auth).\n\nGenerates an enterprise upgrade URL to upgrade an existing managed Google\nPlay Accounts enterprise to a managed Google domain.\nSee [the guide to upgrading an enterprise](/android/work/play/emm-api/upgrade-an-enterprise) for more details.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/generateEnterpriseUpgradeUrl\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| **Optional query parameters** |||\n| `adminEmail` | `string` | Optional. Email address used to prefill the admin field of the enterprise signup form as part of the upgrade process. This value is a hint only and can be altered by the user. Personal email addresses are not allowed. If \\`allowedDomains\\` is non-empty then this must belong to one of the \\`allowedDomains\\`. |\n| `allowedDomains` | `string` | Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has \\`\\*.\\` prefixed to the domain name (e.g. \\*.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are not allowed. |\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 for an enterprise admin to upgrade their enterprise. The page can't be rendered in an iframe. | |"]]