Sync jobs

Refresh sync job source token

Changed on

Force an OAuth2 access-token refresh for a XOAUTH2 client_credentials source (other sources: imapsync_source_refresh_unsupported). Requires edit rights on the source and the syncjobs ACL.

post/api/v1/edit/syncjob_source/refresh_token

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[]

source id (only the first one is used)

Example request

{
  "items": [
    "3"
  ]
}

Response

OK

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

Changes