public Project transferProject ( Object projectIdOrPath , String namespace ) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm ( ) . withParam ( "namespace" , namespace , true ) ; Response response = put ( Response . Status . OK , formData . asMap ( ) , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "transfer" ) ; return ( response . readEntity ( Project . class ) ) ; }
Transfer a project to a new namespace . This was added in GitLab 11 . 1