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