WorkOS · Schema

UserlandRevokeSessionDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
session_id string The ID of the session to revoke. This can be extracted from the `sid` claim of the access token.
return_to string The URL to redirect the user to after session revocation.
View JSON Schema on GitHub

JSON Schema

workos-userlandrevokesessiondto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UserlandRevokeSessionDto",
  "title": "UserlandRevokeSessionDto",
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "The ID of the session to revoke. This can be extracted from the `sid` claim of the access token.",
      "example": "session_01H93ZY4F80QPBEZ1R5B2SHQG8"
    },
    "return_to": {
      "type": "string",
      "description": "The URL to redirect the user to after session revocation.",
      "example": "https://example.com"
    }
  },
  "required": [
    "session_id"
  ]
}