Close a session
POST/v2/sessions/:id/close
Ends a session now: sets ended_at, and exit with type account (API token) or attendant (user token). No body.
It doesn't check that the session is still open, and doesn't change the zone's occupied_count: check ended_at first.
Request
Responses
- 200
- 401
- 403
- 404
Account user is not logged in and they should log in again.
User does not have permission to access requested resource.
Resource that has been requested does not exist. User should not try to repeat this request.