### Copenhagen Truck Wash API Help

# Force enable MACHINE relay and mark lane as in-wash (superusers only)

This endpoint documentation is generated directly from `openapi.yaml`.

## Endpoint

POST /modules/self-serve/lane/force/machine/enable

## Operation

Operation ID: `forceEnableSelfServeLaneMachine`

Superuser/emergency endpoint. Bypasses the allowed services gating and directly turns on the MACHINE relay. Also ensures the lane is marked as OCCUPIED and IN_WASH with a wash start timestamp if not already set.

## Authentication

Security requirements:

Scheme | Scopes
--- | ---
BearerAuth | -

## Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "duration": { "description": "Optional number of seconds after which the relay should automatically turn off", "nullable": true, "type": "integer" }, "lane_id": { "type": "integer" }, "license_plate": { "description": "Optional license plate to associate with the lane", "nullable": true, "type": "string" } }, "required": [ "lane_id" ], "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | MACHINE relay force-enabled and lane marked in-wash | application/json
401 |  |
403 |  |

Schema for response `200` (`application/json`):

{ "properties": { "duration": { "nullable": true, "type": "integer" }, "forced": { "type": "boolean" }, "lane_id": { "type": "integer" }, "machine": { "enum": [ "ENABLED" ], "type": "string" }, "state": { "type": "string" }, "status": { "type": "string" }, "wash_start_time": { "type": "integer" } }, "type": "object" }
17 March 2026