DeleteMark

[POST] .../v1/firm/deletemark

Toggles deleted_mark for enterprise. Use this destructive method to set or clear the firm deletion mark before final deletion. It requires a positive id and returns row_affected; the operation fails when active stocks still belong to the firm. The caller must have firm delete permission by current behavior; missing body, invalid id, denied access, linked-stock restrictions, missing records and storage errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required Company ID.

Request Example

{
  "id": 2
}

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
  }
}