diff --git a/docs/client/api.html b/docs/client/api.html
index 1f9eaec93c..2784d594f5 100644
--- a/docs/client/api.html
+++ b/docs/client/api.html
@@ -1437,7 +1437,7 @@ call [`Accounts.sendEnrollmentEmail`](#accounts_sendenrollmentemail). This
will send the user an email with a link to set their initial password.
By default the `profile` option is added directly to the new user document. To
-override this behavior, use [`Accounts.onCreateUser`](#accounts_createuser).
+override this behavior, use [`Accounts.onCreateUser`](#accounts_oncreateuser).
This function is only used for creating users with passwords. The external
service login flows do not use this function.