Examples

DELETE /api/locations/255093256-Location%201
{
  "location": {}
}
200
{
  "id": 255093256,
  "name": "Location 1",
  "created_at": "2018-11-15T19:01:27.644Z",
  "updated_at": "2018-11-15T19:01:27.644Z",
  "ignore_types": [],
  "ancestry": null,
  "title": "Location 1",
  "description": null
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

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.