RevokeTokenRequest
Name | Type | Tags | Description |
---|---|---|---|
clientId |
string | undefined |
Optional | The Square-issued ID for your application, which is available in the OAuth page in the Developer Dashboard. Constraints: Maximum Length: 191 |
accessToken |
string | undefined |
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 |
merchantId |
string | undefined |
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. |
revokeOnlyAccessToken |
boolean | undefined |
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"
}