vehicles
Delete vehicle
Deletes the vehicle and unlinks it from every fleet that used it; fleetNames lists them. With ?strategy=unlink-fleets the vehicle stays in the catalog and is only removed from fleets. Returns 409 with code: "vehicle_in_use" when optimization history still references it.
delete/vehicles/{id}
Request
- Base URL: https://api.vepathos.com
- URL: https://api.vepathos.com/vehicles/{id}
- Auth: API key in header Authorization
Path parameters
idinteger required
Query parameters
strategy'unlink-fleets'
When unlink-fleets, removes fleet_vehicle links only and keeps the vehicle catalog row. Default: full delete with FK cleanup (api-doc gateway).
Response
Vehicle deleted or unlinked from fleets (gateway applies transactional FK cleanup).
Changes
No recorded changes to this operation across all 1 revision of this API.