# Set allowed services for a lane based on shown tasks | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Set allowed services for a lane based on shown tasks

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

## Endpoint

POST /modules/self-serve/lane/services/allowed

## Operation

Operation ID: `setSelfServeLaneAllowedServices`

Updates the set of services that are allowed to be manually activated for a given self-serve lane, derived from the tasks currently shown to the user after answering the self-serve questions. This endpoint does not activate anything by itself; it only sets what is allowed to be activated.

## Authentication

Security requirements:

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

## Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "lane_id": { "type": "integer" }, "task_ids": { "description": "List of task IDs that are currently shown to the user", "items": { "type": "integer" }, "type": "array" } }, "required": [ "lane_id" ], "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Allowed services updated | application/json
401 |  |
403 |  |

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

{ "properties": { "allowed_services": { "items": { "type": "string" }, "type": "array" }, "lane_id": { "type": "integer" } }, "type": "object" }
17 March 2026