Sign in

Revoke token

documented

Revokes an OAuth token.

POST /oauth2/revokeOAuthno implementation yet0 runs

Input

OAUTH2_ACCESS_TOKEN*
OAuth 2.0 access token
Enter the merchant's OAuth access token
client_id*
OAuth App Client ID
Your Square application client ID
merchant_id
Merchant ID (optional if using access_token)
Merchant ID to revoke for
revoke_only_access_token
Revoke only access token
true or false
square_version
Square-Version header
API version (e.g., 2026-01-22)
Calls Square as you (your API key is your account); keychains.dev holds the credentials.