From 64fa6b79a0137d9ce1f99b814e3a1a4f195c0b17 Mon Sep 17 00:00:00 2001 From: John Walstra Date: Mon, 9 Feb 2026 21:21:06 -0600 Subject: [PATCH] fix: Set optional second email length to 0 --- okta/models/user_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta/models/user_profile.py b/okta/models/user_profile.py index c3180205..b98ee9ae 100644 --- a/okta/models/user_profile.py +++ b/okta/models/user_profile.py @@ -189,7 +189,7 @@ class UserProfile(BaseModel): alias="profileUrl", ) second_email: Optional[ - Annotated[str, Field(min_length=5, strict=True, max_length=100)] + Annotated[str, Field(min_length=0, strict=True, max_length=100)] ] = Field( default=None, description="The secondary email address of the user typically used for account recovery. For validation, "