pub async fn create_user(
auth: Authenticated,
__arg1: State<AppState>,
__arg2: Json<CreateUserRequest>,
) -> Result<impl IntoResponse, ApiError>Expand description
Create a new user account. Admin only.
ยงErrors
- 403 if the caller is not an admin
- 400 if input validation fails
- 409 if email or username is already taken