Stop work sessions
Close open sessions by deliverable, by person, or by both.
Send at least one of deliverableIds or workerIds. A request with neither is rejected: there is deliberately no way to stop every open session in one call.
When a person has several open sessions, the elapsed time is split evenly across them, and any session you did not explicitly stop is restarted from that point.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Body
At least one of deliverableIds or workerIds is required.
Stop open sessions on these deliverables.
Deliverable id.
Stop open sessions for these people.
Person id.
Stop these specific sessions.
Session id.
When the sessions end. Defaults to now. A value earlier than a session's start collapses that session to zero duration rather than going negative.
Response
Stopped. The response has no body.