I want to delete all the records from the data extension using Saleforce FuelSDK for Python. I have found that there is a method to delete records row by row but it does not solve the problem. Below is the method I have currently found in the SDK docs.

dataextensionrow.Name = 'ExampleDEName'
dataextensionrow.props = {"NameOfKeyField" : "151515151"}
results = dataextensionrow.delete()

By using this method first of all I have to know the values of the data present.

Is there any way to delete/clear all the records without traversing the data extension?

Thanks, Alok

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.