DELETE /locations/{location_id}

Delete location

This endpoint allows you to delete a specific location from your DTM account.

Delete location

Delete location

DELETEhttps://api.getdor.com/dtm-api/v1/locations/{loc_id}
Authorization
Path parameters
loc_id*string

loc_id

Response

Successful operation

Body
dataobject
metaobject
Request
const response = await fetch('https://api.getdor.com/dtm-api/v1/locations/{loc_id}', {
    method: 'DELETE',
    headers: {
      "Authorization": "basic <token>"
    },
});
const data = await response.json();
Response
{}

Last updated