提交 c8e7d6df 编写于 作者: D Dmitriy Zaporozhets

API: new feature - remove project[D

上级 551fa4c9
......@@ -66,7 +66,6 @@ module API
present group, with: Entities::GroupDetail
end
# Remove group
#
# Parameters:
......
......@@ -129,6 +129,16 @@ module API
end
end
# Remove project
#
# Parameters:
# id (required) - The ID of a project
# Example Request:
# DELETE /projects/:id
delete ":id" do
authorize! :remove_project, user_project
user_project.destroy
end
# Mark this project as forked from another
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册