Bulk Sync dependencies can be a real pain when trying to clean up your Eloqua instance. To make matters worse, there is no way to delete these dependencies through the UI. This Python script allows you to delete multiple syncs in Eloqua using the Eloqua Bulk API. The script takes a CSV file containing a list of sync IDs and makes DELETE requests to the Eloqua API for each ID.
- Python 3.x
requests
library (pip install requests
)
- Open the script (
eloqua_bulk_sync_deletion.py
) in a text editor. - Replace the following placeholders with your actual Eloqua credentials and information:
your_pod_number
: Update with your Eloqua pod number.your_company_name
: Update with your Eloqua company name.your_username
: Update with your Eloqua username.your_password
: Update with your Eloqua password.path/to/your/csv/file.csv
: Update with the path to your CSV file.
- Ensure the Eloqua account has the necessary permissions access the API and delete syncs.
- Ensure Python and the
requests
library are installed. - Update the script with your Eloqua configuration.
- Open a terminal and navigate to the script's directory.
- Run the script by uncommenting the line
# delete_bulk_syncs(csv_file_path)
and executing the script.
Note: Before running the script, make sure to update the 'elqPod' variable with your actual pod number.
python eloqua_bulk_sync_deletion.py