From c0f7bfffdb08bba20e8bdb0e27a1ea69804048ec Mon Sep 17 00:00:00 2001 From: Livio Spring <9405495+livio-a@users.noreply.github.com> Date: Thu, 16 Apr 2026 22:04:47 +0200 Subject: [PATCH] docs(api): remove incorrect note on CreateInviteCode endpoint (#12073) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Which Problems Are Solved The CreateInviteCode endpoint wrongly stated that a new code can only be issued if the old had expired or was invalidated due to too many attempts, which is not true. # How the Problems Are Solved Removed the note from the proto / API documentation. # Additional Changes None # Additional Context - noticed by a customer - requires backport to v4.x --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Matías Racedo --- proto/zitadel/user/v2/user_service.proto | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proto/zitadel/user/v2/user_service.proto b/proto/zitadel/user/v2/user_service.proto index daf83cdff..229a8908e 100644 --- a/proto/zitadel/user/v2/user_service.proto +++ b/proto/zitadel/user/v2/user_service.proto @@ -1784,9 +1784,8 @@ service UserService { // Create an invite code for a user // // 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. + // If an invite code has been created previously, its 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. - // Note: It is possible to reissue a new code only when the previous code has expired, or when the user provides a wrong code three or more times during verification. rpc CreateInviteCode (CreateInviteCodeRequest) returns (CreateInviteCodeResponse) { option (google.api.http) = { post: "/v2/users/{user_id}/invite_code"