OpheliaDocs
Search docs⌘K
DashboardCreate an account
v3 · Endpoints

DELETE /v3/sessions/{session_id}

Disconnect a person's account. Ophelia deletes the saved sign-in, and later bookings cannot sign in as them until they connect again.

More in Use a person's own account.

Request

FieldTypeDefaultRule
session_id
path
none
The vss_ id. No body.

Response

The session object, with status: "disconnected".

Statuses and error codes

HTTPStatus / error codeWhen
200
disconnected
The saved sign-in was deleted.
404
session_not_found
No connected account with that id in your organization.
503
sessions_unavailable
Connected accounts are not enabled on this deployment.

Example

curl
curl -X DELETE https://api.opheliaos.com/v3/sessions/vss_f1fc8f70c5abb973eeeea519 \
-H "Authorization: Bearer YOUR_TEST_KEY"

Response 200:

json
{
"object": "v3.session",
"id": "vss_f1fc8f70c5abb973eeeea519",
"site": "opheliapractice.com",
"end_user": "u_jane_1",
"status": "disconnected",
"next_action": null,
"error_code": null,
"error": null,
"created_at": "2026-11-04T01:10:52.024898Z",
"connected_at": null,
"expires_at": null
}