cURL
curl --request DELETE \ --url https://apiweb.mile.app/api/v3/vehicles/{hubId}/hub \ --header 'Authorization: Bearer <token>'
{ "status": true, "message": "All vehicles has successfully deleted." }
Use a valid Bearer token to authenticate.
The identifier for the hub that generated by system. Use GET /hubs API to get the list of Hub IDs. Example: 634e98498ce07d29474a7e29
634e98498ce07d29474a7e29
Success
Status of response.
Message of API response.