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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
OAuth client id, as returned by GET /v1/me/connected-apps.
1 <= length <= 200Response Body
application/json
application/json
application/json
application/json
application/json
{ "revoked": true, "clientId": "late_cid_3f9c1a7b2d4e6f80a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718", "revokedTokens": 2, "invalidatedCodes": 0}List connected apps
Returns the OAuth clients (AI assistants and MCP connectors) the authenticated user has authorized and that still hold a live token. 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: an app must not be able to enumerate its sibling authorizations, and connected-app management is admin-plane.
List users
Returns all users in the team including roles and profile access. Also returns the currentUserId of the caller.