Delete

[POST] .../v1/quickreply/delete

Deletes a shared quick reply suggestion (soft-delete). Use this method to remove a reusable quick-reply template from active chat suggestions without physically deleting the row. The request body is required and id must be a positive quick-reply identifier. The current request user must have quick reply delete permission; the method performs a destructive soft deletion, writes an action log record, invalidates the list cache and returns row_affected. Missing body, invalid id, denied permission, missing active record, transaction failures and database errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required Suggestion ID.

Request Example

{
  "id": 12
}

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