mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
docs(api): remove incorrect note on CreateInviteCode endpoint (#12073)
# 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 <[email protected]> Co-authored-by: Matías Racedo <[email protected]>
This commit is contained in:
co-authored by
Copilot
Matías Racedo
parent
14acc60edd
commit
c0f7bfffdb
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user