Skip to main content
DELETE
/
auth
/
session
TypeScript
import { DiscovrClient } from "discovr";
import type { SignOutSession200Response } from "discovr";

const discovr = new DiscovrClient("your-client-id", {
  basePath: "https://api.discovr.media",
});

// After sign-in (refresh-token tier)
const revoked: SignOutSession200Response =
  await discovr.identityApi().signOutSession();

console.log(revoked.revoked);
{
  "revoked": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.discovr.media/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication.

  • Identity-tier endpoints (/profiles, /auth/session-token, /auth/session) accept a long-lived refresh token (rt_<hex>).
  • Session-tier endpoints (/pages/*, /profile/*) accept a short-lived session JWT.

SDK clients use two typed API accessors (identityApi() with the refresh token vs sessionApi() with the session JWT) — see the SDK DiscovrAuth helper.

Format: Authorization: Bearer {token}

Response

Refresh token revoked. Device is signed out.

revoked
boolean
required
Example:

true