Connected Apps

Revoke connected app

Changed on

Ends an app's access: invalidates the client's pending authorization codes and revokes every live token it holds for the authenticated user. Takes effect on the app's next request.

Idempotent while the authorization is still on record: revoking an app that was already revoked returns 200 with revokedTokens: 0.

Requires a session or a full-access API key. A profile-scoped API key, a restricted (zrk_) API key, or an OAuth access token is rejected with 403.

delete/v1/me/connected-apps/{clientId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/me/connected-apps/{clientId}
  • Auth: HTTP bearer

Path parameters

clientIdstring required

OAuth client id, as returned by GET /v1/me/connected-apps.

Response

Revoked

revokedboolean
clientIdstring
revokedTokensinteger

Access and refresh tokens revoked by this call.

invalidatedCodesinteger

Pending authorization codes invalidated by this call.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status