Create a user (Human)
Create/import a new user with the type human. 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.
- application/json
- application/grpc
- application/grpc-web+proto
Request Body required
- userId optionally set your own id unique for the user
Possible values:
non-empty
and<= 200 characters
- username optionally set a unique username, if none is provided the email will be used
Possible values:
non-empty
and<= 200 characters
organisation object
orgId stringorgDomain stringprofile object required
firstName string requiredPossible values:
non-empty
and<= 200 characters
lastName string requiredPossible values:
non-empty
and<= 200 characters
nickName stringPossible values:
<= 200 characters
displayName stringPossible values:
<= 200 characters
preferredLanguage stringPossible values:
<= 10 characters
gender stringPossible values: [
GENDER_UNSPECIFIED
,GENDER_FEMALE
,GENDER_MALE
,GENDER_DIVERSE
]Default value:
GENDER_UNSPECIFIED
email object required
email string requiredPossible values:
non-empty
and<= 200 characters
sendCode object
urlTemplate string requiredPossible values:
non-empty
and<= 200 characters
"Optionally set a url_template, which will be used in the verification mail sent by ZITADEL to guide the user to your verification page. If no template is set, the default ZITADEL url will be used."
returnCode objectisVerified booleanmetadata object[]
Array [key string requiredPossible values:
non-empty
and<= 200 characters
value byte requiredPossible values:
non-empty
and<= 500000 characters
The value has to be base64 encoded.
]password object
password string requiredPossible values:
non-empty
and<= 200 characters
changeRequired booleanhashedPassword object
hash string requiredPossible values:
non-empty
and<= 200 characters
"hashed password"
algorithm string requiredPossible values:
non-empty
and<= 200 characters
"algorithm used for the hash. currently only bcrypt is supported"
changeRequired boolean
Request Body required
- userId optionally set your own id unique for the user
Possible values:
non-empty
and<= 200 characters
- username optionally set a unique username, if none is provided the email will be used
Possible values:
non-empty
and<= 200 characters
organisation object
orgId stringorgDomain stringprofile object required
firstName string requiredPossible values:
non-empty
and<= 200 characters
lastName string requiredPossible values:
non-empty
and<= 200 characters
nickName stringPossible values:
<= 200 characters
displayName stringPossible values:
<= 200 characters
preferredLanguage stringPossible values:
<= 10 characters
gender stringPossible values: [
GENDER_UNSPECIFIED
,GENDER_FEMALE
,GENDER_MALE
,GENDER_DIVERSE
]Default value:
GENDER_UNSPECIFIED
email object required
email string requiredPossible values:
non-empty
and<= 200 characters
sendCode object
urlTemplate string requiredPossible values:
non-empty
and<= 200 characters
"Optionally set a url_template, which will be used in the verification mail sent by ZITADEL to guide the user to your verification page. If no template is set, the default ZITADEL url will be used."
returnCode objectisVerified booleanmetadata object[]
Array [key string requiredPossible values:
non-empty
and<= 200 characters
value byte requiredPossible values:
non-empty
and<= 500000 characters
The value has to be base64 encoded.
]password object
password string requiredPossible values:
non-empty
and<= 200 characters
changeRequired booleanhashedPassword object
hash string requiredPossible values:
non-empty
and<= 200 characters
"hashed password"
algorithm string requiredPossible values:
non-empty
and<= 200 characters
"algorithm used for the hash. currently only bcrypt is supported"
changeRequired boolean
Request Body required
- userId optionally set your own id unique for the user
Possible values:
non-empty
and<= 200 characters
- username optionally set a unique username, if none is provided the email will be used
Possible values:
non-empty
and<= 200 characters
organisation object
orgId stringorgDomain stringprofile object required
firstName string requiredPossible values:
non-empty
and<= 200 characters
lastName string requiredPossible values:
non-empty
and<= 200 characters
nickName stringPossible values:
<= 200 characters
displayName stringPossible values:
<= 200 characters
preferredLanguage stringPossible values:
<= 10 characters
gender stringPossible values: [
GENDER_UNSPECIFIED
,GENDER_FEMALE
,GENDER_MALE
,GENDER_DIVERSE
]Default value:
GENDER_UNSPECIFIED
email object required
email string requiredPossible values:
non-empty
and<= 200 characters
sendCode object
urlTemplate string requiredPossible values:
non-empty
and<= 200 characters
"Optionally set a url_template, which will be used in the verification mail sent by ZITADEL to guide the user to your verification page. If no template is set, the default ZITADEL url will be used."
returnCode objectisVerified booleanmetadata object[]
Array [key string requiredPossible values:
non-empty
and<= 200 characters
value byte requiredPossible values:
non-empty
and<= 500000 characters
The value has to be base64 encoded.
]password object
password string requiredPossible values:
non-empty
and<= 200 characters
changeRequired booleanhashedPassword object
hash string requiredPossible values:
non-empty
and<= 200 characters
"hashed password"
algorithm string requiredPossible values:
non-empty
and<= 200 characters
"algorithm used for the hash. currently only bcrypt is supported"
changeRequired boolean
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- userId string
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs to- emailCode string
{
"userId": "string",
"details": {
"sequence": "2",
"changeDate": "2023-05-10",
"resourceOwner": "69629023906488334"
},
"emailCode": "string"
}
- Schema
- Example (from schema)
Schema
- userId string
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs to- emailCode string
{
"userId": "string",
"details": {
"sequence": "2",
"changeDate": "2023-05-10",
"resourceOwner": "69629023906488334"
},
"emailCode": "string"
}
- Schema
- Example (from schema)
Schema
- userId string
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs to- emailCode string
{
"userId": "string",
"details": {
"sequence": "2",
"changeDate": "2023-05-10",
"resourceOwner": "69629023906488334"
},
"emailCode": "string"
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}