OverviewProductsPlatformsAPI ReferenceResources
Your Platform Apps

Remove an OAuth app

DELETEhttps://zernio.com/api/v1/connect/oauth-apps/{appId}

Removes the app. Accounts connected through it can no longer refresh their tokens, so when any are connected the call returns 409 OAUTH_APP_IN_USE with details.accountCount unless confirm=true is passed. With confirm, those accounts are marked as needing reconnection and each fires account.disconnected.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

appIdstringRequired

Query parameters

Optional
confirmbooleanDefault false

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/connect/oauth-apps/{appId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.connect.deleteOAuthApp();console.log(data);
{  "disconnectedAccounts": 0}
OpenAPI specification
Was this page helpful?