MyNearStoresPartners
Square

Disconnect Square from a terminal

DELETE
/square/oauth/token/{bu_id}/{terminal_id}

Revokes the token with Square (so Square stops sending events), then deletes it. Succeeds even when Square cannot be reached, and when no token exists.

Path Parameters

bu_id*integer

Business unit ID.

terminal_id*integer

Response Body

Disconnected.

application/json
  1. response
message*string
curl -X DELETE "https://example.com/square/oauth/token/0/0"
{  "message": "Token revoked successfully"}