APIReferenceSessions
End a session
Ends a session and tears down its live state.
Authorization
ApiKey AuthorizationBearer <token>
In: header
Path Parameters
id*string
Session id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sessions/string/end"{ "session": { "id": "string", "title": "string", "status": "draft", "mode": "live", "joinCode": "string", "joinUrl": "http://example.com", "screenUrl": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "activities": [ { "id": "string", "kind": "poll", "config": {}, "order": 0 } ] }}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}