public CreateWsResponse create(CreateRequest request) {
    return call(
      new PostRequest(path("create"))
        .setParam("email", request.getEmail())
        .setParam("local", request.getLocal())
        .setParam("login", request.getLogin())
        .setParam("name", request.getName())
        .setParam("password", request.getPassword())
        .setParam("scmAccount", request.getScmAccount())
        .setParam("scmAccounts", request.getScmAccounts() == null ? null : request.getScmAccounts().stream().collect(Collectors.joining(","))),
      CreateWsResponse.parser());
  }
public CreateWsResponse create ( CreateRequest request ) { return call ( new PostRequest ( path ( "create" ) ) . setParam ( "email" , request . getEmail ( ) ) . setParam ( "local" , request . getLocal ( ) ) . setParam ( "login" , request . getLogin ( ) ) . setParam ( "name" , request . getName ( ) ) . setParam ( "password" , request . getPassword ( ) ) . setParam ( "scmAccount" , request . getScmAccount ( ) ) . setParam ( "scmAccounts" , request . getScmAccounts ( ) == null ? null : request . getScmAccounts ( ) . stream ( ) . collect ( Collectors . joining ( "," ) ) ) , CreateWsResponse . parser ( ) ) ; }
This is part of the internal API.
This is a POST request.
@see <a href="https://next.sonarqube.com/sonarqube/web_api/api/users/create">Further information about this action online (including a response example)</a>
@since 3.7