public void updateDefaultVisibility(UpdateDefaultVisibilityRequest request) {
    call(
      new PostRequest(path("update_default_visibility"))
        .setParam("projectVisibility", request.getProjectVisibility())
        .setMediaType(MediaTypes.JSON)
    ).content();
  }
public void updateDefaultVisibility ( UpdateDefaultVisibilityRequest request ) { call ( new PostRequest ( path ( "update_default_visibility" ) ) . setParam ( "projectVisibility" , request . getProjectVisibility ( ) ) . setMediaType ( MediaTypes . JSON ) ) . content ( ) ; }
This is part of the internal API.
This is a POST request.
@see <a href="https://next.sonarqube.com/sonarqube/web_api/api/projects/update_default_visibility">Further information about this action online (including a response example)</a>
@since 6.4