post_setup_global_user

Function post_setup_global_user 

Source
pub async fn post_setup_global_user(
    __arg0: State<AppState>,
    __arg1: ConnectInfo<SocketAddr>,
    headers: HeaderMap,
    __arg3: Json<SetupGlobalUserRequest>,
) -> Result<impl IntoResponse, StatusCode>
Expand description

Setup, log in, or rotate the password of the global graph user.

Restricted strictly to loopback IP (localhost) or a single-use setup_token file to prevent external abuse.