Method: accounts.provisionAccountTicket

Requests a ticket for creating an account.

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/accounts:provisionAccountTicket

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "account": {
    object (Account)
  },
  "redirectUri": string
}
Fields
account

object (Account)

The account to create.

redirectUri

string

Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Developers Console as a Redirect URI

Response body

If successful, the response body contains data with the following structure:

Response message for accounts.provisionAccountTicket RPC.

JSON representation
{
  "accountTicketId": string
}
Fields
accountTicketId

string

The param to be passed in the ToS link.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.edit