Connect

Update an OAuth app

Changed on

Renames the app or rotates its secret.

A new secret is checked with the platform before it is saved, and takes effect for every account on the app at once; their tokens keep working.

The client ID cannot change: a different client ID is a different app, so add it and reconnect the accounts through it.

patch/v1/connect/oauth-apps/{appId}

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/connect/oauth-apps/{appId}
  • Auth
    HTTP bearer

Request body

labelstring
clientSecretstring
metaAppIdstring

Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with metaAppSecret to register the webhook. Send both or neither.

metaAppSecretstring

Instagram only: the secret of that Meta app. Never returned.

slackSigningSecretstring

Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.

scopeAreasstring[]

Replaces the areas new connects request. Accounts already connected keep what they were granted until they reconnect.

Response

The updated app.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status