Sync jobs

Update sync job settings

Changed on

Update global sync job settings (admin only). max_parallel is the number of imapsync processes that may run concurrently (1-32); max_kb_per_second is a per-process bandwidth cap in KB/s (0 = unlimited, max. 10485760 = 10 GiB/s), stored internally in bytes/s.

post/api/v1/edit/imapsync_settings

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

Example request

{
  "attr": {
    "max_parallel": "4",
    "max_kb_per_second": "2000"
  }
}

Response

OK

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

Changes