Toggle vehicle addon
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
POST /vehicles/addons/toggle
Operation
Operation ID: toggleVehicleAddon
Enable or disable a vehicle addon for a vehicle. Permissions: - Own scope: `toggle_vehicle_addon_own` (linked to subuser node `VEHICLES_EDIT`). - Broader scope: `toggle_vehicle_addon_other`.
Authentication
Security requirements:
Scheme | Scopes |
|---|---|
BearerAuth | - |
Parameters
Name | In | Required | Type | Description |
|---|---|---|---|---|
no | object |
Request Body
Required: yes.
Content type: application/json
{
"properties": {
"addon_id": {
"type": "integer"
},
"vehicle_id": {
"type": "integer"
}
},
"required": [
"vehicle_id",
"addon_id"
],
"type": "object"
}
Responses
Status | Description | Content Types |
|---|---|---|
200 | Vehicle addon toggled successfully | application/json |
403 | ||
404 |
Schema for response 200 (application/json):
{}
17 March 2026