API Explorer
You are viewing an old version of the API

Revoke token

Revokes an access token generated with the OAuth flow.

Open in API Reference

Sign In

Authorization

string

Body

string
string
string
boolean
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareupsandbox.com/oauth2/revoke \
  -X POST \
  -H 'Square-Version: 2021-03-17' \
  -H 'Authorization: Client APPLICATION_SECRET' \
  -H 'Content-Type: application/json'
Response
// No response received yet.