1
0
Fork 0
mirror of synced 2024-09-18 18:40:24 +12:00

Merge pull request #8305 from appwrite/update-acct-api-reference

Documentation: Update Account API Reference
This commit is contained in:
Steven Nguyen 2024-07-03 21:53:33 -07:00 committed by GitHub
commit 343052eb90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3429,7 +3429,7 @@ App::post('/v1/account/verification/phone')
});
App::put('/v1/account/verification/phone')
->desc('Create phone verification (confirmation)')
->desc('Update phone verification (confirmation)')
->groups(['api', 'account'])
->label('scope', 'public')
->label('event', 'users.[userId].verification.[tokenId].update')
@ -3572,7 +3572,7 @@ App::get('/v1/account/mfa/factors')
});
App::post('/v1/account/mfa/authenticators/:type')
->desc('Add Authenticator')
->desc('Create Authenticator')
->groups(['api', 'account'])
->label('event', 'users.[userId].update.mfa')
->label('scope', 'account')
@ -3882,7 +3882,7 @@ App::delete('/v1/account/mfa/authenticators/:type')
});
App::post('/v1/account/mfa/challenge')
->desc('Create 2FA Challenge')
->desc('Create MFA Challenge')
->groups(['api', 'account', 'mfa'])
->label('scope', 'account')
->label('event', 'users.[userId].challenges.[challengeId].create')