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이 파싱될 수 있도록 올바른 형식이어야 한다는 점입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 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. | |"]]