Revoke Token Request
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 notterminate the entire authorization. Default: false |
{
"access_token": "ACCESS_TOKEN",
"client_id": "CLIENT_ID"
}