Set lead
Make a plain session the Lead (terminal), which saves it and gives it the Lead’s brief. Answer the offer to bring it back (asked: true; POST /terminals with resume and lead: true is what Bring back sends). With board: true or false, give or take away its permission to move the board. With starts and total, give it permission to start tickets while fewer than starts tasks are building (1 to one under the WIP limit), total in all (1 to 20), or take it away (starts: 0). With refresh: true or false, start or stop Refresh the Lead. With “lead”: true, as Settings sends, a grant goes only to the session that is the Lead now, and is refused with not_lead otherwise, so a page that has not seen another session made the Lead does not make the old one the Lead again.
Tokens: the relay key only.
From docs/manual/relay.html#routes.
Path Parameters
Body
JSON. The fields are in the description.
The body is of type object.