Skip to main content
POST
/
liveai
/
sessions
/
{session_id}
/
control
curl --request POST \
  --url https://lemonslice.com/api/liveai/sessions/{session_id}/control \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": "terminate"
}
'
{
  "success": true
}

Path Parameters

session_id
string
required

The ID of the session to control.

Body

application/json

Immediately shuts down the LemonSlice avatar and removes it from the WebRTC room.

event
string
default:terminate
required

terminate

Allowed value: "terminate"

Response

Control event accepted.

success
boolean