Enterprises: generateSignupUrl
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
가입 URL을 생성합니다.
요청
HTTP 요청
POST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl
매개변수
매개변수 이름 |
값 |
설명 |
선택적 쿼리 매개변수 |
adminEmail |
string |
선택사항입니다. 기업 가입 양식의 관리자 입력란을 미리 채우는 데 사용되는 이메일 주소입니다. 이 값은 힌트일 뿐이며 사용자가 변경할 수 있습니다.
`allowedDomains` 가 비어 있지 않으면 `allowedDomains` 중 하나에 속해야 합니다.
|
allowedDomains |
string |
선택사항입니다. 관리 이메일에 허용되는 도메인 목록입니다. IT 관리자는 이 목록에 없는 도메인 이름이 포함된 이메일 주소를 입력할 수 없습니다. 이 목록에 있는 도메인의 하위 도메인은 허용되지 않지만 도메인 이름 앞에 `*.` 이 접두사로 추가된 두 번째 항목을 추가하면 허용됩니다 (예: *.example.com). 필드가 없거나 빈 목록인 경우 IT 관리자는 유효한 도메인 이름을 자유롭게 사용할 수 있습니다. 개인 이메일 도메인은 항상 허용되지만 기업용 관리 Google Play 계정이 생성됩니다.
|
callbackUrl |
string |
기업을 성공적으로 만든 후 관리자가 리디렉션되는 콜백 URL입니다. 리디렉션하기 전에 시스템은 이 URL에 'enterpriseToken'이라는 단일 쿼리 매개변수를 추가합니다. 이 매개변수에는 CompleteSignup 요청에 사용할 불투명 토큰이 포함됩니다.
URL이 파싱되고 매개변수가 추가된 후 새 URL 형식이 지정된다는 의미입니다. 즉, 약간의 형식 변경이 있을 수 있으며, 더 중요한 것은 URL이 파싱될 수 있도록 올바른 형식이어야 한다는 점입니다.
|
승인
다음 범위를 사용하여 이 요청을 인증받아야 합니다.
범위 |
https://www.googleapis.com/auth/androidenterprise |
자세한 내용은 인증 및 승인 페이지를 참고하세요.
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공할 경우 이 메소드는 다음과 같은 구조의 응답 본문을 반환합니다.
{
"kind": string,
"url": string,
"completionToken": string
}
속성 이름 |
값 |
설명 |
참고 |
url |
string |
관리자가 엔터프라이즈에 가입할 수 있는 URL입니다. 가리키는 페이지를 iframe에서 렌더링할 수 없습니다. |
|
completionToken |
string |
CompleteSignup에서 엔터프라이즈 리소스를 가져오는 데 Enterprise Token과 함께 필요한 불투명 토큰입니다. |
|
kind |
string |
지원 중단됨.
|
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-27(UTC)
[null,null,["최종 업데이트: 2025-03-27(UTC)"],[[["\u003cp\u003eGenerates a sign-up URL for Android enterprise enrollment using the \u003ccode\u003esignupUrl\u003c/code\u003e endpoint with an optional admin email and callback URL.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful signup, a response provides a sign-up URL for the admin and a completion token for finalizing the process with the \u003ccode\u003eCompleteSignup\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is necessary to use this endpoint.\u003c/p\u003e\n"]]],[],null,["# Enterprises: generateSignupUrl\n\n| **Note:** Requires [authorization](#auth).\n\nGenerates a sign-up URL.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Optional query parameters** |||\n| `adminEmail` | `string` | Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. 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 always allowed, but will result in the creation of a managed Google Play Accounts enterprise. |\n| `callbackUrl` | `string` | The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named \"enterpriseToken\" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed. |\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 \"kind\": string,\n \"url\": string,\n \"completionToken\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `url` | `string` | A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe. | |\n| `completionToken` | `string` | An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup. | |\n| `kind` | `string` | Deprecated. | |"]]