Method: signupUrls.create
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
POST https://androidmanagement.googleapis.com/v1/signupUrls
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
projectId |
string
기업을 소유할 Google Cloud Platform 프로젝트의 ID입니다.
|
callbackUrl |
string
엔터프라이즈를 성공적으로 만든 후 관리자가 리디렉션되는 콜백 URL입니다. 리디렉션하기 전에 시스템은 이 URL에 enterpriseToken 라는 쿼리 매개변수를 추가하며, 여기에는 기업 만들기 요청에 사용될 불투명 토큰이 포함됩니다. enterpriseToken 매개변수를 추가하기 위해 URL이 파싱된 후 형식이 다시 지정되므로 약간의 형식 변경이 있을 수 있습니다.
|
adminEmail |
string
선택사항입니다. 엔터프라이즈 가입 양식의 관리자 입력란을 자동으로 채우는 데 사용되는 이메일 주소입니다. 이 값은 힌트일 뿐이며 사용자가 변경할 수 있습니다. allowedDomains 가 비어 있지 않으면 allowedDomains 중 하나에 속해야 합니다.
|
allowedDomains[] |
string
선택사항입니다. 관리 이메일에 허용되는 도메인 목록입니다. IT 관리자는 이 목록에 없는 도메인 이름이 포함된 이메일 주소를 입력할 수 없습니다. 이 목록에 있는 도메인의 하위 도메인은 허용되지 않지만 도메인 이름 앞에 *. 가 접두사로 추가된 두 번째 항목을 추가하면 허용될 수 있습니다 (예: *.example.com). 필드가 없거나 목록이 비어 있으면 IT 관리자가 유효한 도메인 이름을 자유롭게 사용할 수 있습니다. 개인 이메일 도메인은 항상 허용되지만 기업용 관리 Google Play 계정이 생성됩니다.
|
응답 본문
성공한 경우 응답 본문에 새로 생성된 SignupUrl
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/androidmanagement
자세한 내용은 OAuth 2.0 Overview를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThis document describes how to create an enterprise signup URL using an HTTP POST request to \u003ccode\u003ehttps://androidmanagement.googleapis.com/v1/signupUrls\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the Google Cloud project ID, a callback URL for redirection after signup, and optionally, an email address to prefill the admin field.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a \u003ccode\u003eSignupUrl\u003c/code\u003e object containing the generated signup URL.\u003c/p\u003e\n"],["\u003cp\u003eTo use this functionality, you'll need authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidmanagement\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This content describes the process of creating an enterprise signup URL via a `POST` request to `https://androidmanagement.googleapis.com/v1/signupUrls`. The request requires a `projectId` and a `callbackUrl`, and optionally an `adminEmail` and `allowedDomains`. The request body must be empty. A successful request returns a `SignupUrl` instance. This requires `https://www.googleapis.com/auth/androidmanagement` authorization scope. After enterprise creation, `enterpriseToken` will be added as a query parameter to the callback URL.\n"],null,["# Method: signupUrls.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates an enterprise signup URL.\n\n### HTTP request\n\n`POST https://androidmanagement.googleapis.com/v1/signupUrls`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `projectId` | `string` The ID of the Google Cloud Platform project which will own the enterprise. |\n| `callbackUrl` | `string` The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named `enterpriseToken` which will contain an opaque token to be used for the [create enterprise](/android/management/reference/rest/v1/enterprises/create) request. The URL will be parsed then reformatted in order to add the `enterpriseToken` parameter, so there may be some minor formatting changes. |\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`](/android/management/reference/rest/v1/signupUrls/create#body.QUERY_PARAMETERS.allowed_domains) is non-empty then this must belong to one of the [`allowedDomains`](/android/management/reference/rest/v1/signupUrls/create#body.QUERY_PARAMETERS.allowed_domains). |\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\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [SignupUrl](/android/management/reference/rest/v1/signupUrls#SignupUrl).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidmanagement`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]