Skip to main content
POST
End every live and queued session of a project without switching it off. Viewers receive disconnect code 4000 and the player shows This stream has been turned off by the project owner, the same message as Disable Project; 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, null when pending is true.
boolean
false when the region’s session store could not be read; nothing was ended. Retry.
boolean
true when the disconnect is taking longer than the request budget and is finishing in the background; sessionsSignalled is then null. Poll Live Stats to confirm. Only appears on busy regions.

Errors