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-emptyand<= 200 characters - username optionally set a unique username, if none is provided the email will be used
Possible values:
non-emptyand<= 200 characters organisation object
orgId stringorgDomain stringprofile object required
firstName string requiredPossible values:
non-emptyand<= 200 characterslastName string requiredPossible values:
non-emptyand<= 200 charactersnickName stringPossible values:
<= 200 charactersdisplayName stringPossible values:
<= 200 characterspreferredLanguage stringPossible values:
<= 10 charactersgender stringPossible values: [
GENDER_UNSPECIFIED,GENDER_FEMALE,GENDER_MALE,GENDER_DIVERSE]Default value:
GENDER_UNSPECIFIEDemail object required
email string requiredPossible values:
non-emptyand<= 200 characterssendCode object
urlTemplate stringPossible values:
non-emptyand<= 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-emptyand<= 200 charactersvalue byte requiredPossible values:
non-emptyand<= 500000 charactersThe value has to be base64 encoded.
]password object
password string requiredPossible values:
non-emptyand<= 200 characterschangeRequired booleanhashedPassword object
hash string requiredPossible values:
non-emptyand<= 200 characters"hashed password"
changeRequired booleanidpLinks object[]
Array [idpId stringPossible values:
non-emptyand<= 200 charactersID of the identity provider
userId stringPossible values:
non-emptyand<= 200 charactersID of the user of the identity provider
userName stringPossible values:
non-emptyand<= 200 charactersusername of the user of the identity provider
]
Request Body required
- userId optionally set your own id unique for the user
Possible values:
non-emptyand<= 200 characters - username optionally set a unique username, if none is provided the email will be used
Possible values:
non-emptyand<= 200 characters organisation object
orgId stringorgDomain stringprofile object required
firstName string requiredPossible values:
non-emptyand<= 200 characterslastName string requiredPossible values:
non-emptyand<= 200 charactersnickName stringPossible values:
<= 200 charactersdisplayName stringPossible values:
<= 200 characterspreferredLanguage stringPossible values:
<= 10 charactersgender stringPossible values: [
GENDER_UNSPECIFIED,GENDER_FEMALE,GENDER_MALE,GENDER_DIVERSE]Default value:
GENDER_UNSPECIFIEDemail object required
email string requiredPossible values:
non-emptyand<= 200 characterssendCode object
urlTemplate stringPossible values:
non-emptyand<= 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-emptyand<= 200 charactersvalue byte requiredPossible values:
non-emptyand<= 500000 charactersThe value has to be base64 encoded.
]password object
password string requiredPossible values:
non-emptyand<= 200 characterschangeRequired booleanhashedPassword object
hash string requiredPossible values:
non-emptyand<= 200 characters"hashed password"
changeRequired booleanidpLinks object[]
Array [idpId stringPossible values:
non-emptyand<= 200 charactersID of the identity provider
userId stringPossible values:
non-emptyand<= 200 charactersID of the user of the identity provider
userName stringPossible values:
non-emptyand<= 200 charactersusername of the user of the identity provider
]
Request Body required
- userId optionally set your own id unique for the user
Possible values:
non-emptyand<= 200 characters - username optionally set a unique username, if none is provided the email will be used
Possible values:
non-emptyand<= 200 characters organisation object
orgId stringorgDomain stringprofile object required
firstName string requiredPossible values:
non-emptyand<= 200 characterslastName string requiredPossible values:
non-emptyand<= 200 charactersnickName stringPossible values:
<= 200 charactersdisplayName stringPossible values:
<= 200 characterspreferredLanguage stringPossible values:
<= 10 charactersgender stringPossible values: [
GENDER_UNSPECIFIED,GENDER_FEMALE,GENDER_MALE,GENDER_DIVERSE]Default value:
GENDER_UNSPECIFIEDemail object required
email string requiredPossible values:
non-emptyand<= 200 characterssendCode object
urlTemplate stringPossible values:
non-emptyand<= 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-emptyand<= 200 charactersvalue byte requiredPossible values:
non-emptyand<= 500000 charactersThe value has to be base64 encoded.
]password object
password string requiredPossible values:
non-emptyand<= 200 characterschangeRequired booleanhashedPassword object
hash string requiredPossible values:
non-emptyand<= 200 characters"hashed password"
changeRequired booleanidpLinks object[]
Array [idpId stringPossible values:
non-emptyand<= 200 charactersID of the identity provider
userId stringPossible values:
non-emptyand<= 200 charactersID of the user of the identity provider
userName stringPossible values:
non-emptyand<= 200 charactersusername of the user of the identity provider
]
- 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-07-28",
"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-07-28",
"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-07-28",
"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"
}
]
}