docs: def revoke_access_token(self, **kwargs):
          """Revoke access token."""
          c = self.get_credentials()
          data = {
              'client_id': c.client_id,
              'client_secret': c.client_secret,
              'token': c.access_token,
              'token_type_hint': 'access_token'
          }
          r = self._httpclient.request(
              method='POST',
              url=self.token_url,
              json=data,
              path='/api/oauth2/RevokeToken',
              **kwargs
          )
          if not r.ok:
              raise PanCloudError(
                  '%s %s: %s' % (r.status_code, r.reason, r.text)
              )
          try:
              r_json = r.json()
          except ValueError as e:
              raise PanCloudError("Invalid JSON: %s" % e)
          else:
              if r.json().get(
                  'error_description'
              ) or r.json().get(
                  'error'
              ):
                  raise PanCloudError(r.text)
              return r_json