userRequestDto

userRequestDto
userRequestDto

Data object for an user creation request

JSON Example
{
    "firstName": "string",
    "lastName": "string",
    "contactNumber": "string",
    "email": "string",
    "password": "string",
    "tenantId": "string",
    "roles": [
        "string"
    ]
}
string
firstName
Required

firstName

string
lastName
Required

lastName

string
contactNumber
Optional

contactNumber

string
email
Required

email

string As ^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[?!@#$%^&*])[A-Za-z\d?!@#$%^&*]{8,20}$
password
Required

password

string As uuid As uuid
tenantId
Optional

tenantId

array of string
roles
Required

Valid values are PROVIDER or (TENANT_ADMIN and/or TENANT_USER)

Possible values are : ORG_ADMIN, ORG_USER, PROVIDER,
Parameter To