Enterprises: generateSignupUrl

Generates a sign-up URL.

Request

HTTP request

POST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl

Parameters

Parameter name Value Description
Optional query parameters
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.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/androidenterprise

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "androidenterprise#signupInfo",
  "url": string,
  "completionToken": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "androidenterprise#signupInfo".
url string A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe.
completionToken string An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup.