Skip to content

Commit cedab74

Browse files
committed
added article deletion
1 parent fc9eca7 commit cedab74

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dataikuapi/dss/wiki.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ def set(self, article_with_payload):
9696
"""
9797
return self.client._perform_json("PUT", "/projects/%s/wiki/%s" % (self.project_key, self.article_id), body=article_with_payload)
9898

99+
def delete(self):
100+
"""
101+
Delete the article
102+
"""
103+
return self.client._perform_json("DELETE", "/projects/%s/wiki/%s" % (self.project_key, self.article_id))
104+
99105
########################################################
100106
# Discussions
101107
########################################################

0 commit comments

Comments
 (0)