Revokes an access token generated with the OAuth flow.
Open in API Reference
Secure identifier for your Square OAuth application that can be found on the OAuth page within your app settings in the Developer Dashboard.
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.
merchant_id
A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field’s value.
''
The Square-issued ID for your application, which is available on the OAuth page in the Developer Dashboard.
The ID of the merchant whose token you want to revoke. Do not provide a value for access_token if you provide this parameter.
access_token
If true, terminate the given single access token, but do not terminate the entire authorization. Default: false
true
false
// No response received yet.