diff --git a/okta/models/user_profile.py b/okta/models/user_profile.py index c3180205..03678d39 100644 --- a/okta/models/user_profile.py +++ b/okta/models/user_profile.py @@ -188,9 +188,7 @@ class UserProfile(BaseModel): "https://datatracker.ietf.org/doc/html/rfc1808).", alias="profileUrl", ) - second_email: Optional[ - Annotated[str, Field(min_length=5, strict=True, max_length=100)] - ] = Field( + second_email: Optional[Annotated[str, Field(strict=True, max_length=100)]] = Field( default=None, description="The secondary email address of the user typically used for account recovery. For validation, " "see [RFC 5322 Section 3.2.3](https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3).", diff --git a/openapi/api.yaml b/openapi/api.yaml index 4c093b7c..76d63172 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -82223,7 +82223,6 @@ components: type: string format: email description: The secondary email address of the user typically used for account recovery. For validation, see [RFC 5322 Section 3.2.3](https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3). - minLength: 5 maxLength: 100 nullable: true state: