Skip to content

Security and audit

Sign out other sessions

Signs you out everywhere except this browser, for example after a lost laptop or a password change. It only affects your own sessions. Recorded in the audit log as session.revoked_others. API keys are not accepted.

POST/api/v1/security/sessions/revoke-others
  • Console only: signed-in session
  • Workspace: X-Tenant-ID

Headers

  • Cookiestringrequired

    The whatsappx_session cookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.

    Example
    whatsappx_session=…
  • X-Tenant-IDuuidrequired

    Workspace id. Required for session requests. You can pass ?tenant=<id> instead.

    Example
    8d0f6c2e-3b1a-4c55-9a7e-2f4b6d1e9c30

Response

200 OKapplication/json

  • okboolean

    Always true.

  • revokedinteger

    How many sessions were signed out (0 when there were none).

Status codes

  • 200OK. Your other sessions were signed out.
  • 401Unauthorized. No signed-in session (unauthorized).
  • 500Server error. Something went wrong on our side. Retry with backoff.