module Gitlab::Client::Groups

def transfer_project_to_group(id, project_id)

Parameters:
  • project_id (Integer) -- The ID of a project.
  • id (Integer) -- The ID of a group.
def transfer_project_to_group(id, project_id)
  body = { id: id, project_id: project_id }
  post("/groups/#{url_encode id}/projects/#{project_id}", body: body)
end