Update a sync configuration (pause, change frequency, etc.).
cURL
curl --request PATCH \ --url https://api.cuadra.ai/v1/sync-configs/{config_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "syncFrequency": "manual", "status": "enabled", "targetDatasetId": "<string>" } '
{ "id": "<string>", "connectionId": "<string>", "name": "<string>", "remoteResourceId": "<string>", "remoteResourceType": "<string>", "syncFrequency": "manual", "status": "enabled", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "remoteResourcePath": "<string>", "targetDatasetId": "<string>", "lastSyncedAt": "2023-11-07T05:31:56Z" }
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Sync config ID
Request to update sync configuration.
manual
daily
weekly
enabled
paused
Successful Response
Sync configuration.
Was this page helpful?