From d0215870263db7ffb9d699b1dcf91f03ae1924fe Mon Sep 17 00:00:00 2001 From: Milka Kuzminski Date: Fri, 2 Apr 2021 12:22:20 +0200 Subject: [PATCH] file-store: added delete method --- docs/api/methods/store-methods.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/api/methods/store-methods.rst b/docs/api/methods/store-methods.rst index cfe8f8d4..8f447984 100644 --- a/docs/api/methods/store-methods.rst +++ b/docs/api/methods/store-methods.rst @@ -130,6 +130,24 @@ file_store_get_info (EE only) error : null +file_store_delete (EE only) +--------------------------- + +.. py:function:: file_store_delete(apiuser, store_fid) + + Delete an artifact based on the secret uuid. + + Example output: + + .. code-block:: bash + + id : + result: { + "artifact" : {"uid": "some uid", "removed": true} + } + error : null + + file_store_add_metadata (EE only) ---------------------------------