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