public void deleteLabel ( Object projectIdOrPath , String name ) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm ( ) . withParam ( "name" , name , true ) ; Response . Status expectedStatus = ( isApiVersion ( GitLabApi . ApiVersion . V3 ) ? Response . Status . OK : Response . Status . NO_CONTENT ) ; delete ( expectedStatus , formData . asMap ( ) , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "labels" ) ; }
Delete the specified label