Revoke Token
Changed onRevoke one account token; any other token stays live. For a token a tool got by signing you in with OnlyWorlds, the world keys it minted are revoked with it, unless you hold another live token of the same tool that is not read-only, which then takes them, so a tool can replace its token without losing its keys. A token made by hand (here, on the account page, or by a password sign-in), or one of a tool that asks each time (it keeps its keys and revokes its token when done), revokes itself only: its keys stay until Disconnect or their own revoke. A sign-in tool's consent ends when its last live token is revoked (or at any revoke, for a tool that asks each time; never by a revoke, for a tool the registry marks consent_outlives_tokens), or when you disconnect the tool (DELETE /account/clients/{client_id}, or Disconnect on the account page); until then its next sign-in does not ask again when it returns to an https address GET /api/v2/auth/clients lists for it. Every other sign-in asks each time.
An AI door token (audience ai) may be sent as the bearer to revoke itself, and nothing else; revoking it leaves every other token, the tool's consent and its keys as they were, and revoking any other token leaves it live.
A token from a read-only sign-in revokes itself here, the one write it makes; another token's id is 403 permission_error.
Request
- Base URLhttps://www.onlyworlds.com
- Auth
- HTTP bearer
- or API key in header X-Session-Token
- or HTTP bearer
Path parameters
Response
Revoked: this token, and the world keys it minted without keep: true when it is a sign-in tool's last live token that is not read-only and whose audience is empty (an mcp or ai token never takes keys); a token made by hand, or one of a tool that asks each time, keeps its keys. An AI door token revokes itself only.
Changes
- info
added the optional property
error/limitto the response with the status - info
added the optional property
error/limitto the response with the status - info
added the optional property
error/limitto the response with the status
3 more changes in this revision
- info