Authentication

Log out and revoke the session

Revokes the refresh token from the httpOnly cookie (if present) and clears the cookie. Idempotent: always returns { success: true } even when no session cookie is set.

delete/api/v1/auth/session

Request

  • Base URL: https://api.skills-hub.ai
  • URL: https://api.skills-hub.ai/api/v1/auth/session
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Response

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

successtrue required

Changes

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