Name |
Type |
Description |
Notes |
first_name |
str |
The name of the user. Names may contain letters, numbers, colons, dashes, and underscores. There is a limit of 255 characters per user. |
[optional] |
last_name |
str |
The last name of the user. Users may contain letters, numbers, colons, dashes, and underscores. There is a limit of 255 characters per user. |
[optional] |
email |
str |
The email of the user to which activation and forgot password links are being sent to. There is a limit of 255 characters per email. |
|
enabled |
bool |
If user is not enabled, he can't login and thus use services any longer. |
|
totp |
bool |
Enable or disable two-factor authentication (2FA) via time based OTP. |
|
locale |
str |
The locale of the user. This can be `de-DE`, `de`, `en-US`, `en` |
|
roles |
List[int] |
The roles as list of `roleId`s of the user. |
[optional] |
from pfruck_contabo.models.create_user_request import CreateUserRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateUserRequest from a JSON string
create_user_request_instance = CreateUserRequest.from_json(json)
# print the JSON string representation of the object
print(CreateUserRequest.to_json())
# convert the object into a dict
create_user_request_dict = create_user_request_instance.to_dict()
# create an instance of CreateUserRequest from a dict
create_user_request_from_dict = CreateUserRequest.from_dict(create_user_request_dict)
[Back to Model list] [Back to API list] [Back to README]