Method: users.invalidateToken

  • You can invalidate a user's existing Chrome Device Token and create a new token using an HTTP POST request.

  • The request body requires specifying the tokenType in JSON format.

  • A successful response will have an empty body.

  • This operation requires the https://www.googleapis.com/auth/chromeosdevicetoken OAuth scope for authorization.

Invalidate a user's existing Chrome Device Token and create a new token.

HTTP request

POST https://chromedevicetoken.googleapis.com/v1/users:invalidateToken

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "tokenType": enum (TokenType)
}
Fields
tokenType

enum (TokenType)

Token type to invalidate.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

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