title: Disconnecting app in quickbooks v3 api
body: <p>I am working on quickbooks v3 api integration. I have done all integrations but got stuck in Quickbooks Disconnect from app. </p>
  
  <p>I am using the following snippet of code for disconnecting from quickbooks</p>
  
  <pre><code>final IAPlatformClient pClient = new IAPlatformClient();
  pClient.disconnect(consumerkey, consumersecret, accessToken, accessTokenSecret);
  </code></pre>
  
  <p>This code is throwing the following error</p>
  
  <p><strong>Error Code: null,Error Message: Failed to disconnect: null null
      at com.intuit.ia.connection.PlatformHttpClient.disconnect(PlatformHttpClient.java:81)
      at com.intuit.ia.connection.IAPlatformClient.disconnect(IAPlatformClient.java:40)
      at com.intuit.ia.connection.IAPlatformClient$disconnect.call(Unknown Source)</strong></p>
  
  <p>Not sure if i am missing any dependency for disconnect api as all other integrations(sign-in/blue-dot menu/connect to QB) are working fine with the v3 API.</p>
  
  <p>I had done it using v2 quickbooks API and everything was working but getting this in v3.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Quickbooks disconnect API at <a href="https://developer.intuit.com/docs/0025_quickbooksapi/0060_auth_auth/0015_disconnect_api" rel="nofollow">https://developer.intuit.com/docs/0025_quickbooksapi/0060_auth_auth/0015_disconnect_api</a> descripbed the URL requires a GEt request. So instead of going through the v3 API i also tried to make a GET request to the api url as follows</p>
  
  <p><a href="https://appcenter.intuit.com/api/v1/Connection/Disconnect?oauth_token=token&amp;oauth_token_secret=secret&amp;oauth_consumer_key=key&amp;oauth_consumer_secret=secret" rel="nofollow">https://appcenter.intuit.com/api/v1/Connection/Disconnect?oauth_token=token&amp;oauth_token_secret=secret&amp;oauth_consumer_key=key&amp;oauth_consumer_secret=secret</a></p>
  
  <p>Now i get error code 50 "Missing appToken" error</p>
  
  <p>Does the disconnect API work with GET request? Which parameter am i missing here?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Link for Sample code for Quickbooks V3 API.</p>
  
  <p><a href="https://github.com/IntuitDeveloperRelations/QuickbooksV3API-Java/tree/master/QuickbooksV3API" rel="nofollow">https://github.com/IntuitDeveloperRelations/QuickbooksV3API-Java/tree/master/QuickbooksV3API</a></p>