Kick a viewer
The seat is freed and its relay sessions closed at once.
DELETE
The seat is freed and its relay sessions closed at once.
secretKeyheader
AuthorizationBearer <token>sk_...
id*stringseat*stringMatch
^se_[0-9a-f]{32}$kicked
curl -X DELETE 'https://api.nearglass.com/v1/streams/st_8f2c41d09a7be3105c6e2d77/viewers/se_5b0e1c7a9d3f42e68a1c0b7d2e9f4a63'Example Response
Empty
End a turn DELETE
Closes the turn's control session at the relay (admin close of turn:<turn_id>).
The public waiting room (a page, publishable key) POST
For streams with `admission: public`. A waiting page calls it every 2 s with its `seat`; when offered a seat (state `offer`, 10 s), the viewer presses Join and the page calls with `join: true`. Rate limited per client address (a burst of 20, then 2 a second). Any origin may call it (CORS).