Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f4dc7e

Browse files
elifcerenelifceren
authored andcommitted
DELETE /report/{reportID} added
1 parent bcf2fef commit 8f4dc7e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

jotform.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,4 +680,14 @@ def get_plan(self, plan_name):
680680

681681
return self.fetch_url('/system/plan/' + plan_name, method='GET')
682682

683-
683+
def delete_report(self, reportID):
684+
"""Delete a specific report
685+
686+
Args:
687+
reportID (string): You can get a list of reports from /user/reports.
688+
689+
Returns:
690+
Status of request.
691+
"""
692+
693+
return self.fetch_url('/report/' + reportID, None, 'DELETE')

0 commit comments

Comments
 (0)