Skip to main content
POST
End every live and queued session of a project without switching it off. Viewers receive disconnect code 4000; new viewers can join straight away. Use it to clear stuck viewers, or right before switching the active build so everyone lands on the new one.
Scope: control. Team members need the Editor role or above. Limited to 30 control calls per minute per account.

Path parameters

string
required
The project whose sessions to end.

Headers

string
required
An API key issued with the control scope.

Response

boolean
The project’s on/off state, unchanged by this call.
number
Live and queued sessions told to end. 0 when there were none.
boolean
false when the region’s session store could not be read; nothing was ended. Retry.

Errors