DELETE /api/v1/admin/cities/{city-id}Delete a city. Optionally transfer attached data to another city.
| Permission | Description |
|---|---|
cities.view_all | Access cities |
cities.delete | Delete any city |
| Name | Type | Required | Description |
|---|---|---|---|
replacement_id | integer | No | ID of another city to transfer attached data (optional) |
No content is returned when the city is deleted successfully.
replacement_id is not provided or is not valid. Number of attached items is returned in attached_data.