v1

OpenAPI 3.1.02026-07-13632897.9 KB
focused-offboarding

Disconnect

Disconnect user from Focused app.

Revokes Google OAuth, stops webhook channel, marks ChatGPT tokens revoked, and clears Redis cache. Does NOT delete user data.

Idempotent: calling twice returns 200 (already disconnected).

Returns: 200: {"status": "disconnected", "revoked_at": "<timestamp>"} 401: Missing authentication (X-User-ID header required) 404: User not found 500: Internal error

post/api/focused/disconnect

Response

Successful Response

{"stackTrail":"paths:/api/focused/disconnect:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}