Skip to main content
POST
Terminar mi turno de conducción

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Body

application/json
reason
enum<string>
required
Available options:
ended,
driver_mode_off,
signed_out
location
object

Ubicación del teléfono del conductor al iniciar o terminar el turno.

Response

Turno terminado, o no había turno abierto