[POST] .../v1/docprintform/delete
Deletes form on printing documents. Use this destructive method to delete a print form template when it must no longer be selectable or prepared. The request body must contain id and the current request user must have print form delete permission. The method physically deletes the print form row, writes an action log record and returns row_affected. Missing body, invalid id, denied access, missing print form, no affected rows, database failures, transaction failures and action-log failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Print form ID. |
Request Example
{
"id": 1001
}
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
}
}