From 66643b16ba316721357b4cc6cd47e0ff95557473 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Sun, 19 Feb 2012 20:12:01 +0200 Subject: implements #361 API method for deleting repositories --HG-- branch : beta --- docs/api/api.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'docs') diff --git a/docs/api/api.rst b/docs/api/api.rst index fcea5054..b4f50e6c 100644 --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -503,6 +503,29 @@ OUTPUT:: error: null +delete_repo +----------- + +Deletes a repository. This command can be executed only using api_key +belonging to user with admin rights. + + +INPUT:: + + api_key : "" + method : "delete_repo" + args: { + "repo_name" : "", + } + +OUTPUT:: + + result: { + "msg": "Deleted repository ", + } + error: null + + grant_user_permission --------------------- -- cgit v1.2.3