EndpointsSessions

Unlink a parent from a session

Unlinks a parent from a player session that was previously linked via the `/invite-parent` flow. On success the call wipes any parent-set preferences on the session and fires the `Session.Unlink` webhook. Permissions and existing player data are left intact. The endpoint is idempotent on `sessionId`. A second call after the link is already removed returns 200 with the original `unlinkedAt`.

POST
/session/unlink-parent
AuthorizationBearer <token>

In: header

Request Body

application/json

Unlink session request

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/session/unlink-parent" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672",    "locale": "en"  }'
{  "unlinked": true,  "unlinkedAt": "2026-04-20T18:42:11Z"}