Skip to main content

update_user

Function update_user 

Source
pub async fn update_user(
    __arg0: State<AppState>,
    user: CurrentUser,
    __arg2: Path<Uuid>,
    __arg3: Json<UserPatch>,
) -> Result<impl IntoResponse, ApiError>
Expand description

Changes a person: their name, role, password, or whether they are active.