floor
Lead stops session
With a session's token, {"who"}: the Lead stops one session. Only the token of a Lead you let move the board, and only while Let the Lead stop sessions is on (or RELAY_LEAD_STOPS=1). See What the Lead stops. With the relay key, as the page sends it, {"who": terminal id} or {"all": true}: you stop one desk, or every desk, that its desk calls safe to stop at that moment. The Lead's desk is never safe to stop. GET /floor also gives leadEnded: null while a Lead runs or nothing is offered back, or, once the Lead's session ended in this run, how it ended (stopped, ended or crashed) and a sentence that says so. One that is not safe is refused with not_safe and the reason. See What each desk says.
Tokens: the relay key, and the token of a Lead you let move the board. A route a token reaches can still refuse it, as the description says.
From docs/manual/relay.html#routes.
POST
Lead stops session
Path Parameters
Body
application/json
JSON. The fields are in the description.
The body is of type object.