Remove

[POST] .../v1/printformtype/remove

Deletes link between form on printing and type document. Use this destructive method to remove a print form link from a document type without deleting the print form template itself. The request body must contain a positive link id and the current request user must have print form type remove permission. The method physically deletes the link row and returns row_affected. Missing body, invalid id, denied access, missing link, no affected rows, database failures and transaction failures are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required ID of the link between a print form and a document type.

Request Example

{
  "id": 501
}

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