Skip to content
Console

Close a realtime session

DELETE
/api/v1/realtime/sessions/{session_id}
curl --request DELETE \
--url https://api.inside.chat/api/v1/realtime/sessions/example \
--header 'Authorization: Bearer <token>' \
--header 'Origin: example'

Required scopes: website_read, event_read
Data access: –
MCP tool: not available over MCP
Note: Write
Note: Origin required

Close this app session and release its capacity. No body.

session_id
required
string
/^app_[a-f0-9]{64}_[a-f0-9]{32}$/
Origin
required
string
<= 2048 characters

Exact canonical HTTPS origin bound to this session. Local loopback HTTP is allowed only in the local environment. Browser REST CORS is restricted to configured UI origins.

Session closed.

Closed request body or parameters are invalid.

Original REST credential or current authority is invalid.

Origin rejected.

Session is absent or not owned by the same exact credential/grant and origin.

Installation session or pending socket capacity reached.

App/ingress quota exceeded; observe Retry-After.

Required service/authority/storage is unavailable.