[POST] .../v1/country/delete
Deletes country reference records. Use this destructive method to delete a country reference record that should no longer be available in selectors or related reference data. It requires a positive id and returns row_affected after the persistent layer attempts the removal. This method currently does not perform an explicit permission check in the controller; missing body, invalid id, related-data restrictions, missing records and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Country ID. |
Request Example
{
"id": 860
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1
}
}