v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Connected Apps

Revoke connected app

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}

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.