Skip to content

Commit b5301ae

Browse files
authored
docs: clarify user identifier requirements (#1487)
1 parent 181fc6d commit b5301ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/user-management/manage-users.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It supports keyword mapping for [`name`](/user-management/user-data#name), [`id`
2222

2323
Using the Console, developers can create new accounts for end-users. To do so, click on the "Add user" button in the screen's upper right corner.
2424

25-
When creating a user in the Logto Console or via the Management API (not end user self-registered via the UI), you must provide at least one identifier: `primary email`, `primary phone`, or `username`. The `name` field is optional.
25+
When creating a user in the Logto Console, you must provide at least one identifier: `primary email`, `primary phone`, or `username`. The `name` field is optional. This requirement only applies to the Console. The Management API's [Create user endpoint](https://openapi.logto.io/operation/operation-createuser) can create a user without any of these identifiers.
2626

2727
After the user is created, Logto will automatically generate a random password. The initial password will only appear one time, but you can [reset the password](./manage-users#reset-user-password) later. If you want to set a specific password, use the Management API `patch /api/users/{userId}/password` to update it after the user has been created.
2828

0 commit comments

Comments
 (0)