Skip to Content
Docs

Manage sync frequency for sources

POST
/api/manage_sync

Manage sync frequency for sources.

Personal access token scope: sources:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
source_id*string

Source ID

sync_frequency*string

Sync frequency (never, daily, weekly, monthly)

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/manage_sync' \  -H 'Content-Type: application/json' \  -d '{  "source_id": "string",  "sync_frequency": "string"}'
Example Response200
Empty