Disconnect Client
Changed onDisconnect a tool that signs in with OnlyWorlds: revoke every live token its sign-ins minted for this account, and every world key the tool minted with those tokens, and end your consent, so its next sign-in asks again. Tokens and keys you made yourself, and other tools', are untouched. Safe to repeat: a second call revokes nothing and answers 0 and 0. The token sending the request may be one of the tool's own; it is revoked with the rest.
Request
- Base URLhttps://www.onlyworlds.com
- Auth
- HTTP bearer
- or API key in header X-Session-Token
Path parameters
Response
Disconnected: every token the tool held and every world key it minted with them is revoked, and its consent has ended.
The tool, as GET /api/v2/auth/clients names it.
How many live tokens the tool's sign-ins held for this account and this call revoked; 0 when there were none (a second call).
How many live world keys the tool minted with its sign-ins' tokens (live or revoked ones) and this call revoked; 0 when there were none.
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
2 more changes in this revision
- info