You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods.
585
+
Create an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. If an invite code has been created previously, it's url template and application name will be used as defaults for the new code. The new code will overwrite the previous one and make it invalid.
Resend an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. A resend is only possible if a code has been created previously and sent to the user. If there is no code or it was directly returned, an error will be returned.
3457
+
Deprecated: Use [CreateInviteCode](apis/resources/user_service_v2/user-service-create-invite-code.api.mdx) instead. Resend an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. A resend is only possible if a code has been created previously and sent to the user. If there is no code or it was directly returned, an error will be returned.
3328
3458
3329
3459
:param user_id: (required)
3330
3460
:type user_id: str
3331
3461
:return: Returns the result object.
3332
3462
"""# noqa: E501
3463
+
warnings.warn("POST /v2/users/{userId}/invite_code/resend is deprecated.", DeprecationWarning)
Copy file name to clipboardExpand all lines: zitadel_client/models/user_service_send_invite_code.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ class UserServiceSendInviteCode(BaseModel):
27
27
"""
28
28
UserServiceSendInviteCode
29
29
"""# noqa: E501
30
-
url_template: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=200)]] =Field(default=None, description="Optionally set a url_template, which will be used in the invite mail sent by ZITADEL to guide the user to your invitation page. If no template is set, the default ZITADEL url will be used. The following placeholders can be used: UserID, OrgID, Code", alias="urlTemplate")
31
-
application_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=200)]] =Field(default=None, description="Optionally set an application name, which will be used in the invite mail sent by ZITADEL. If no application name is set, ZITADEL will be used as default.", alias="applicationName")
30
+
url_template: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=200)]] =Field(default=None, description="Optionally set a url_template, which will be used in the invite mail sent by ZITADEL to guide the user to your invitation page. If no template is set and no previous code was created, the default ZITADEL url will be used. The following placeholders can be used: UserID, OrgID, Code", alias="urlTemplate")
31
+
application_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=200)]] =Field(default=None, description="Optionally set an application name, which will be used in the invite mail sent by ZITADEL. If no application name is set and no previous code was created, ZITADEL will be used as default.", alias="applicationName")
0 commit comments