Merge pull request #8305 from appwrite/update-acct-api-reference
Documentation: Update Account API Reference
This commit is contained in:
commit
343052eb90
1 changed files with 3 additions and 3 deletions
|
@ -3429,7 +3429,7 @@ App::post('/v1/account/verification/phone')
|
||||||
});
|
});
|
||||||
|
|
||||||
App::put('/v1/account/verification/phone')
|
App::put('/v1/account/verification/phone')
|
||||||
->desc('Create phone verification (confirmation)')
|
->desc('Update phone verification (confirmation)')
|
||||||
->groups(['api', 'account'])
|
->groups(['api', 'account'])
|
||||||
->label('scope', 'public')
|
->label('scope', 'public')
|
||||||
->label('event', 'users.[userId].verification.[tokenId].update')
|
->label('event', 'users.[userId].verification.[tokenId].update')
|
||||||
|
@ -3572,7 +3572,7 @@ App::get('/v1/account/mfa/factors')
|
||||||
});
|
});
|
||||||
|
|
||||||
App::post('/v1/account/mfa/authenticators/:type')
|
App::post('/v1/account/mfa/authenticators/:type')
|
||||||
->desc('Add Authenticator')
|
->desc('Create Authenticator')
|
||||||
->groups(['api', 'account'])
|
->groups(['api', 'account'])
|
||||||
->label('event', 'users.[userId].update.mfa')
|
->label('event', 'users.[userId].update.mfa')
|
||||||
->label('scope', 'account')
|
->label('scope', 'account')
|
||||||
|
@ -3882,7 +3882,7 @@ App::delete('/v1/account/mfa/authenticators/:type')
|
||||||
});
|
});
|
||||||
|
|
||||||
App::post('/v1/account/mfa/challenge')
|
App::post('/v1/account/mfa/challenge')
|
||||||
->desc('Create 2FA Challenge')
|
->desc('Create MFA Challenge')
|
||||||
->groups(['api', 'account', 'mfa'])
|
->groups(['api', 'account', 'mfa'])
|
||||||
->label('scope', 'account')
|
->label('scope', 'account')
|
||||||
->label('event', 'users.[userId].challenges.[challengeId].create')
|
->label('event', 'users.[userId].challenges.[challengeId].create')
|
||||||
|
|
Loading…
Reference in a new issue