DELETE api/locations/{locationID}

Deletes the location.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

The location identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

RBLocation
NameDescriptionTypeAdditional information
locationID

integer

None.

regionID

integer

None.

isRegional

string

None.

locationName

string

None.

location_address_1

string

None.

location_address_2

string

None.

city

string

None.

stateCode

string

None.

state

string

None.

countryCode

string

None.

country

string

None.

zipCode

string

None.

lat

decimal number

None.

lng

decimal number

None.

createdDate

date

None.

modifieddDate

date

None.

isActive

boolean

None.

archived

boolean

None.

createdBY

string

None.

modifiedBY

string

None.

Response Formats

application/json, text/json

Sample:
{
  "locationID": 1,
  "regionID": 1,
  "isRegional": "sample string 2",
  "locationName": "sample string 3",
  "location_address_1": "sample string 4",
  "location_address_2": "sample string 5",
  "city": "sample string 6",
  "stateCode": "sample string 7",
  "state": "sample string 8",
  "countryCode": "sample string 9",
  "country": "sample string 10",
  "zipCode": "sample string 11",
  "lat": 1.1,
  "lng": 1.1,
  "createdDate": "2025-06-24T14:53:41.0349874-04:00",
  "modifieddDate": "2025-06-24T14:53:41.0349874-04:00",
  "isActive": true,
  "archived": true,
  "createdBY": "sample string 12",
  "modifiedBY": "sample string 13"
}

text/html

Sample:
{"locationID":1,"regionID":1,"isRegional":"sample string 2","locationName":"sample string 3","location_address_1":"sample string 4","location_address_2":"sample string 5","city":"sample string 6","stateCode":"sample string 7","state":"sample string 8","countryCode":"sample string 9","country":"sample string 10","zipCode":"sample string 11","lat":1.1,"lng":1.1,"createdDate":"2025-06-24T14:53:41.0349874-04:00","modifieddDate":"2025-06-24T14:53:41.0349874-04:00","isActive":true,"archived":true,"createdBY":"sample string 12","modifiedBY":"sample string 13"}