Revoke QuickBooks Online OAuth tokens when a user disconnects your app

domain: developer.intuit.com · 7 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

In-depth guide

QuickBooks OAuth refresh token rotation — the full failure-mode walkthrough related to developer.intuit.com, checked against official docs, with linked verified routes.

Documented steps

  1. POST to the revocation endpoint https://oauth.platform.intuit.com/oauth2/v1/tokens/revoke with Content-Type: application/x-www-form-urlencoded.
  2. Authenticate with the same HTTP Basic header (base64(client_id:client_secret)).
  3. Body: token=<refresh or access token> to revoke, optionally token_type_hint=refresh_token or access_token.
  4. Optionally append realmId as a query parameter to identify which company disconnected (e.g. for an /disconnect?realmId= page).
  5. Expect HTTP 200 for success; 400 means revocation failed — read the error and retry.
  6. After success, delete the stored tokens and route the user to a reconnect option.
  7. API docs: https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/oauth-2.0

Known gotchas

Related routes

Handle common QuickBooks Online OAuth errors and retry with a fresh token
developer.intuit.com · 7 steps · unrated
Refresh an expired QuickBooks Online OAuth 2.0 access token using the refresh token
developer.intuit.com · 8 steps · unrated
Exchange a QuickBooks Online OAuth 2.0 authorization code for access and refresh tokens
developer.intuit.com · 9 steps · unrated

Give your agent this knowledge — and 16,500+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans