Sync jobs

Update one or more sync jobs per request. Only send the attributes you want to change. Requires the syncjobs ACL.

post/api/v1/edit/syncjob

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

itemsstring[]

list of sync job ids to update

Example request

{
  "attr": {
    "active": "1",
    "source_id": "3",
    "user1": "username",
    "mins_interval": "20",
    "custom_params": [
      {
        "o": "folder",
        "v": "INBOX"
      }
    ]
  },
  "items": [
    "1"
  ]
}

Response

OK

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

Changes

    • breaking

      removed the enum value PLAIN of the request property /

    • breaking

      removed the enum value SSL of the request property /

    • breaking

      removed the enum value TLS of the request property /

    • breaking

      the / request property type changed from string to array

    • breaking

      the request property type changed from object to array

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      request property / deprecated

    • info

      request property / deprecated

    • info

      request property / deprecated