Hi,
I was experimenting with creating new user accounts via the connect API. We are using proxy authentication on our Connect server. My understanding is that with user_must_set_password = TRUE an email will be sent from the server email account set in the config file to the email specified for the user to set their password. So far no luck with getting a new account created this way.
Below is the R code we are trying. Thanks!
response <- POST(paste0(connectServer, "__api__/v1/users"),
add_headers(Authorization = apiKey),
body = list(username = "john_doe",
first_name = "John",
last_name = "Doe",
user_role = "viewer",
user_must_set_password = TRUE,
password = "",
email = "john_doe@rstudio.com")
)