cURL
curl --request DELETE \ --url https://apiweb.mile.app/api/v3/vehicle/{vehicleId} \ --header 'Authorization: Bearer <token>'
{ "status": true, "data": { "name": "Mini Van 34", "assignee": "leandro@mile.app", "speed": 30, "fixedCost": 15, "tags": [ "Ganjil", "Depok", "B1124CC" ], "workingTime": { "startTime": "08:00", "endTime": "17:00", "multiday": 0 }, "capacity": { "width": { "min": 10, "max": 1000 }, "height": { "min": 10, "max": 1000 } }, "organizationId": "621dd813eb3ebf16b94dbde3", "hubId": "621dd813eb3ebf16b94d6969", "updatedTime": "2022-07-13T03:16:40+00:00", "createdTime": "2022-07-13T03:16:40+00:00", "_id": "62ce3918d3f3e1681a3a54b2" } }
Use a valid Bearer token to authenticate.
Unique identifier for the vehicle that generated by system. Example: 62ce3918d3f3e1681a3a54b2
62ce3918d3f3e1681a3a54b2
Success
Status of response.
Detail of object vehicle.