Skip to content
Snippets Groups Projects
Commit c8e7d6df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

API: new feature - remove project[D

parent 551fa4c9
No related branches found
No related tags found
No related merge requests found
Loading
@@ -66,7 +66,6 @@ module API
Loading
@@ -66,7 +66,6 @@ module API
present group, with: Entities::GroupDetail present group, with: Entities::GroupDetail
end end
   
# Remove group # Remove group
# #
# Parameters: # Parameters:
Loading
Loading
Loading
@@ -129,6 +129,16 @@ module API
Loading
@@ -129,6 +129,16 @@ module API
end end
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 # Mark this project as forked from another
# #
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment