Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions filecloudapi/fcserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,13 @@ def quickshare(self, sharelocation: str, adminproxyuserid: str = "") -> FCShare:
str_to_bool(resp.findtext("./share/allowpublicuploadonly", "")),
)

def deleteshare(self, share :FCShare) -> None:
resp = self._api_call(
"/core/deleteshare",
{"shareid": share.shareid},
)
self._raise_exception_from_command(resp)

def getshareforpath(self, path: str, adminproxyuserid: str = "") -> FCShare:
"""
Share 'path'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "filecloudapi-python"
version = "0.4.2"
version = "0.4.3"
description = "A Python library to connect to a Filecloud server"

packages = [{ include = "filecloudapi" }]
Expand Down
Loading