API Reference
OAuth: tokens

Revoke a token

POST/revoke
Base URL: https://google-ads.mimicr.dev · provider: https://oauth2.googleapis.com

Revokes an access token or a refresh token (form token=…). If the token is an access token and it has a corresponding refresh token, the refresh token will also be revoked; revoking a refresh token also revokes its access tokens.

Authorization

Public route, no token.

Body

application/x-www-form-urlencoded
tokenstringrequired

The access token or refresh token to revoke.

Example: "1//0…"

Responses

200The token was revoked.
object
400invalid_token: the token is unknown or already revoked.
errorstringrequired

An OAuth 2.0 error code.

invalid_requestinvalid_clientinvalid_grantredirect_uri_mismatchunsupported_grant_typeinvalid_token
error_descriptionstring

Human-readable text with additional information.

Example: "Bad Request"