Quarantine

Edit mails in Quarantine

Changed on

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

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

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'

Changes