src/main/java/org/gitlab4j/api/ProjectApi.java
public void deletePushRules(Integer projectId) throws GitLabApiException {

        if (projectId == null) {
            throw new RuntimeException("projectId cannot be null");
        }

        delete(Response.Status.OK, null, "projects", projectId, "push_rule");
    }
/**
     * Removes a push rule from a project. This is an idempotent method and can be
     * called multiple times. Either the push rule is available or not.
     *
     * DELETE /projects/:id/push_rule
     *
     * @param projectId the project ID to delete the push rule from
     * @throws GitLabApiException if any exception occurs
     */
Removes a push rule from a project. This is an idempotent method and can be
called multiple times. Either the push rule is available or not.



@param projectId the project ID to delete the push rule from
@throws GitLabApiException if any exception occurs
Removes a push rule from a project . This is an idempotent method and can be called multiple times . Either the push rule is available or not . @param projectId the project ID to delete the push rule from @throws GitLabApiException if any exception occurs
public void deletePushRules(Integer projectId) throws GitLabApiException {
        if (projectId == null) {
            throw new RuntimeException("projectId cannot be null");
        }
        delete(Response.Status.OK, null, "projects", projectId, "push_rule");
    }
public void deletePushRules ( Integer projectId ) throws GitLabApiException { if ( projectId == null ) { throw new RuntimeException ( "projectId cannot be null" ) ; } delete ( Response . Status . OK , null , "projects" , projectId , "push_rule" ) ; }
Removes a push rule from a project.
Removes a push rule from a project .