Revoke the current signed-in user session

Revokes only the session proven by the bearer credential, confirms its absence from active WorkOS sessions and records local terminal denial. No organization is required. The request body and query must be empty; caller-supplied session or user identifiers are not accepted. Repeated private processing cannot revoke another session. Once revoked, the old bearer is no longer authorized, including for a public replay. This synchronous identity-lifecycle operation does not create a project operation.

post/v1/session:revoke

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/session:revoke
  • Auth: HTTP bearer

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

Response

Provider session revocation and local terminal denial are confirmed.

revokedtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.