diff --git a/docs/api/api.rst b/docs/api/api.rst --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -848,8 +848,10 @@ OUTPUT:: delete_repo ----------- -Deletes a repository. This command can be executed only using api_key belonging to user with admin -rights or regular user that have admin access to repository. +Deletes a repository. This command can be executed only using api_key belonging +to user with admin rights or regular user that have admin access to repository. +When `forks` param is set it's possible to detach or delete forks of deleting +repository INPUT:: @@ -858,7 +860,8 @@ INPUT:: api_key : "" method : "delete_repo" args: { - "repoid" : "" + "repoid" : "", + "forks" : "`delete` or `detach` = Optional(None)" } OUTPUT::