Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.85 KB

PasswordSettingsRequestDto.md

File metadata and controls

32 lines (24 loc) · 1.85 KB

PasswordSettingsRequestDto

The four values that make up the portal password policy, replaced together.

Properties

Name Type Description Notes
min_length int The shortest password the portal will accept. It has to sit between the floor the installation is configured with, 8 characters unless it was changed, and the ceiling of 30; a value outside that is refused with 400.
upper_case bool Whether a password must contain at least one uppercase letter. There is no partial update on this body, so leaving the flag out stores it as false and drops the requirement. [optional]
digits bool Whether a password must contain at least one digit. Leaving the flag out stores it as false and drops the requirement. [optional]
spec_symbols bool Whether a password must contain at least one special symbol. Leaving the flag out stores it as false and drops the requirement. [optional]

Example

from docspace_api_sdk.models.password_settings_request_dto import PasswordSettingsRequestDto

# TODO update the JSON string below
json = "{}"
# create an instance of PasswordSettingsRequestDto from a JSON string
password_settings_request_dto_instance = PasswordSettingsRequestDto.from_json(json)
# print the JSON string representation of the object
print(PasswordSettingsRequestDto.to_json())

# convert the object into a dict
password_settings_request_dto_dict = password_settings_request_dto_instance.to_dict()
# create an instance of PasswordSettingsRequestDto from a dict
password_settings_request_dto_from_dict = PasswordSettingsRequestDto.from_dict(password_settings_request_dto_dict)

[Back to Model list] [Back to API list] [Back to README]