Vehicles
Delete Vehicle by ID
Removes a vehicle from your depot's fleet. Afterwards, the vehicle is no longer returned by GET /vehicles and can't be fetched or updated. Its capacities and skills are removed. Any assignments of this vehicle to orders, customers or plan visits are also removed, so those orders and customers are no longer tied to it. The response is {"deleted": {"vehicles_count": 1}}.
delete/vehicles/{id}
Request
- Base URL: https://api.smartroutes.io/v2
- URL: https://api.smartroutes.io/v2/vehicles/{id}
- Auth: none declared
Path parameters
idnumber required
ID of the vehicle to delete.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.