Create a new User (Human)
Deprecated: Use CreateUser to create a new user.
Create/import a new user. The newly created user will get a verification email if either the email address is not marked as verified and you did not request the verification to be returned.
Request Body
application/json
optionally set your own id unique for the user.
optionally set a unique username, if none is provided the email will be used.
An Implementation of RFC 6238 is used, with HMAC-SHA-1 and time-step of 30 seconds. Currently no other options are supported, and if anything different is used the validation will fail.
Response Body
application/json
curl -X POST "https://loading/v2/users/human" \ -H "Content-Type: application/json" \ -d '{ "hashedPassword": { "hash": "string" } }'{
"userId": "string",
"details": {
"sequence": 0,
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string",
"creationDate": "2023-01-15T01:30:15.01Z"
},
"emailCode": "string",
"phoneCode": "string"
}Was this page helpful?
Change the user email
Change the user email: Deprecated: [Update the users email field](/reference/api/user/zitadel.user.v2.UserService.UpdateUser). Change the email address of a user. If the state is set to not verified, a verification code ...
Create a passkey registration link for a user
Create a passkey registration link for a user: Create a passkey registration link which includes a code and either return it or send it to the user..