Examples

DELETE /api/locations/255093256-Location%201
{
  "location": {}
}
200
{
  "id": 255093256,
  "name": "Location 1",
  "created_at": "2021-05-18T15:53:37.335Z",
  "updated_at": "2021-05-18T15:53:37.335Z",
  "ignore_types": [],
  "ancestry": null,
  "title": "Location 1",
  "description": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.