v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01960201.2 KB
Quarantine

Edit mails in Quarantine

Using this endpoint you can perform actions on quarantine items. It is possible to release emails from quarantine into to the inbox, or learn them as ham to improve Rspamd filtering. You must provide the quarantine item IDs. You can get the IDs using the GET method.

post/api/v1/edit/qitem

Request body

itemsobject

contains list of quarantine item IDs to release or learn as ham

Example request

{
  "items": [
    "33",
    "34"
  ],
  "attr": {
    "action": "release"
  }
}

Response

OK

type'success' | 'danger' | 'error'