### Copenhagen Truck Wash API Help

# Get current subuser profile

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

## Endpoint

GET /subusers/me

## Operation

Operation ID: `getCurrentSubuser`

Returns the authenticated subuser (driver) profile and their enabled grants grouped by `billing_customer_number`. Notes: - This endpoint is available only to authenticated subuser sessions. - It does not require the `X-Customer-Number` header; all enabled, non-deleted grants for the subuser are included in the response.

## Authentication

Security requirements:

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

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Current subuser details | application/json
401 |  |
500 |  |

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

{ "$ref": "#/components/schemas/SubuserSelf" }
17 March 2026