Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.11 KB

revoke-token-request.md

File metadata and controls

27 lines (19 loc) · 1.11 KB

Revoke Token Request

Structure

Revoke Token Request

Fields

Name Type Tags Description
client_id str Optional The Square-issued ID for your application, which is available on the OAuth page in the
Developer Dashboard.
Constraints: Maximum Length: 191
access_token str 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 str 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",
  "merchant_id": "merchant_id8",
  "revoke_only_access_token": false
}