aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-02-19 20:12:01 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-02-19 20:12:01 +0200
commit66643b16ba316721357b4cc6cd47e0ff95557473 (patch)
tree1ef67885bdb572768f28c5cb159b4c59912525ca /docs
parente01b78122fb02435ce15afc518ba9e154d248368 (diff)
implements #361 API method for deleting repositories
--HG-- branch : beta
Diffstat (limited to 'docs')
-rw-r--r--docs/api/api.rst23
1 files changed, 23 insertions, 0 deletions
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 : "<api_key>"
+ method : "delete_repo"
+ args: {
+ "repo_name" : "<reponame>",
+ }
+
+OUTPUT::
+
+ result: {
+ "msg": "Deleted repository <reponame>",
+ }
+ error: null
+
+
grant_user_permission
---------------------