code: def revoke_token(self, token, headers=None, **kwargs):
          
          self._check_configuration("site", "revoke_uri")
          url = "%s%s" % (self.site, quote(self.revoke_url))
          data = {'token': token}
          data.update(kwargs)
  
          return self._make_request(url, data=data, headers=headers)
docs: Revoke an access token