How to delete submission from Google script using API?

  • Profile Image
    Asked on March 03, 2016 at 10:05 AM

    I see that there is an API call that can delete a form submission using this call:

    curl -X DELETE "{submissionID}?apiKey={apiKey}"

    I understand the submission ID and apiKey but my question is how to make this call from a Google script. Can such a call be made and if so are there any examples of this out there.

  • Profile Image
    Answered on March 03, 2016 at 11:30 AM

    It depends what kind of programming language you are using. You can check our API documentation. Here's the link:

    You have to check with Google Script if you can add these kinds of API call, you can check their service restrictions. We only provide the API that you can use from the API documentation.

    You can also use the developers forum to post your inquiry. Thank you.