Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.02 KB

revoke-token-request.md

File metadata and controls

25 lines (17 loc) · 1.02 KB

Revoke Token Request

Structure

Revoke Token Request

Fields

Name Type Tags Description
client_id string Optional The Square issued ID for your application, available from the
developer dashboard.
Constraints: Maximum Length: 191
access_token string Optional The access token of the merchant whose token you want to revoke.
Do not provide a value for merchant_id if you provide this parameter.
Constraints: Minimum Length: 2, Maximum Length: 1024
merchant_id string Optional The ID of the merchant whose token you want to revoke.
Do not provide a value for access_token if you provide this parameter.
revoke_only_access_token bool Optional If true, terminate the given single access token, but do not
terminate the entire authorization.
Default: false

Example (as JSON)

{
  "access_token": "ACCESS_TOKEN",
  "client_id": "CLIENT_ID"
}