Ban someone
POST/wordplus/realtime/calls/:name/ban
Takes someone out of a group call and keeps them out, whatever token they bring, for minutes, or until the call
ends with none. Their join is refused banned. A host is never banned (forbidden). The call screen's Ban.
In the packages: realtime.call( name ).ban( user, { minutes?, by? } ).
Request
Responses
- 200
- 400
- 401
- 403
Whether they were in it, and until when the ban holds, in milliseconds, null until the call ends.
bad_request, bad_room: the request is not one the API takes. reserved: an event name kept for the room itself.
missing_signature, stale_signature (a clock off by more than 5 minutes), unknown_site, bad_signature (a wrong secret, or a body or path other than the one signed).
not_included: your plan does not include it.