ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddHumanUser

Create User (Human)

Deprecated: use user service v2 CreateUser instead.

Create a new user. The newly created user will get an initialization email if either the email address is not marked as verified or no password is set. If a password is set the user will not be requested to set a new one on the first login.

POST
/users/human

Request Body

application/json

userName?string
profile?
email?
phone?
initialPassword?string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/users/human" \  -H "Content-Type: application/json" \  -d '{}'
{
  "userId": "string",
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?