How Can I Switch My Connector Syncs Back to Fivetran’s Automatic Scheduling?
Question
I schedule my syncs using Apache Airflow. How can I switch back to Fivetran's built-in automatic scheduling functionality?
Environment
REST API
Answer
To re-enable our automatic scheduling, do the following.
- In Fivetran, go to your connector page.
- Select the Setup tab.
- Make a note of the Fivetran Connector ID.
- Make a note of your API key or create one if you haven't already. See our REST API Authentication documentation for more information.
- Send the following
PATCH
request to the Modify a Connector endpoint:curl --location --request PATCH "https://api.fivetran.com/v1/connectors/{<connector_id>}" \ --header 'Authorization: Basic <API_key>' \ --header 'Content-Type: application/json' \ --data-raw '{ "schedule_type": "auto" }'
- Replace
<API_key>
with your base64-encoded API key. - Replace
<connector_id>
with the Fivetran Connector ID you found in step 3.
NOTE: It's not possible to switch back to our automatic scheduling in the Fivetran dashboard.