code: public void disableAccessToken()
          throws DbxException
      {
          String host = this.host.getApi();
          String apiPath = "1/disable_access_token";
  
          doPost(host, apiPath, null, null, new DbxRequestUtil.ResponseHandler</*@Nullable*/Void>() {
              @Override
              public /*@Nullable*/Void handle(HttpRequestor.Response response) throws DbxException
              {
                  if (response.getStatusCode() != 200) {
                      String requestId = DbxRequestUtil.getRequestId(response);
                      throw new BadResponseException(requestId, "unexpected response code: " + response.getStatusCode());
                  }
                  return null;
              }
          });
      }
docs: Disable the access token that you constructed this {@code DbxClientV1}
  with.  After calling this, API calls made with this {@code DbxClientV1} will
  fail.