Method: tokens.create

Create a Device Token.

This may invalidate previous token for some token types.

HTTP request

POST https://chromedevicetoken.googleapis.com/v1/tokens

The URL uses gRPC Transcoding syntax.

Request body

The request body contains an instance of Token.

Response body

If successful, the response body contains a newly created instance of Token.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/chromeosdevicetoken