Skip to main content
DELETE
/
locations
/
{locationId}
Delete location by ID
curl --request DELETE \
  --url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/{locationId} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/{locationId}"

headers = {"x-api-key": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};

fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/{locationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));

Authorizations

x-api-key
string
header
required

Path Parameters

locationId
string
required

Response

200 - application/json

Successful response