Account

Disconnect Client

Changed on

Disconnect 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.

delete/api/v2/account/clients/{client_id}

Request

  • Base URL
    https://www.onlyworlds.com
  • Auth
    • HTTP bearer
    • or API key in header X-Session-Token

Path parameters

client_id, string required

Response

Disconnected: every token the tool held and every world key it minted with them is revoked, and its consent has ended.

object required
client_id, string required

The tool, as GET /api/v2/auth/clients names it.

tokens_revoked, integer required

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).

keys_revoked, integer required

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/limit to the response with the status

    • info

      added the optional property error/limit to the response with the status

    • info

      added the optional property error/limit to the response with the status

    2 more changes in this revision