Skip to main content
DELETE
/
vehicles
/
{hubId}
/
hub
Delete vehicle by Hub
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."
}

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

hubId
string
required

The identifier for the hub that generated by system. Use GET /hubs API to get the list of Hub IDs. Example: 634e98498ce07d29474a7e29

Response

Success

status
boolean

Status of response.

message
string

Message of API response.