Method: accounts.provisionAccountTicket

Requests a ticket for creating an account.

HTTP request

POST https://analyticsadmin.googleapis.com/v1beta/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 Cloud Console as a Redirect URI.

Response body

Response message for accounts.provisionAccountTicket RPC.

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

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