[POST] .../v1/firm/delete
Deletes enterprise. Use this destructive workflow method to request deletion confirmation for a firm that has already been marked for deletion. It requires a positive id and returns ok true when the confirmation code request is created; call DeleteConfirm with confirm_code to complete physical deletion. The caller must have firm delete permission; missing body, invalid id, denied access, firm-not-marked errors, billing confirmation errors, related-record restrictions 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 | Object | Request result. |
Response Example
{
"ok": true,
"result": null
}