Skip to main content

Check the current occupant out of a station

POST 

/stations/:stationId/check-outs

Clears a station's occupant — the Station aggregate's CheckOut invariant enforced through the application layer. Takes no request body. Like check-in, this publishes no domain event (see ADR-0014).

Request​

Responses​

Station checked out.

Response Headers
    Idempotency-Replayed

    Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.