v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Mileage Locations

Delete location

Delete a favorite location for the given id

delete/v6/mileage/locations/{id}

Path parameters

idstring required

The id of the location

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": {
    "id": "loc_28868401",
    "name": "Home Office",
    "status": "ACTIVE",
    "lat": "38.8977",
    "lng": "-77.0365",
    "address": {
      "countryCode": "USA"
    },
    "customData": {
      "internal_key": "some_internal_key",
      "some_other_field": 23434
    }
  }
}