Close a realtime session
DELETE
/api/v1/realtime/sessions/{session_id}
const url = 'https://api.inside.chat/api/v1/realtime/sessions/example';const options = { method: 'DELETE', headers: {Origin: 'example', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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:Originrequired
Close this app session and release its capacity. No body.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
string
Header Parameters
Section titled “Header Parameters”Origin
required
string
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.
Responses
Section titled “Responses”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.