Merge pull request #7704 from appwrite/fix-session-renewal-description
Update endpoint description
This commit is contained in:
commit
6fcce80b90
2 changed files with 2 additions and 2 deletions
|
@ -2709,7 +2709,7 @@ App::delete('/v1/account/sessions/:sessionId')
|
|||
});
|
||||
|
||||
App::patch('/v1/account/sessions/:sessionId')
|
||||
->desc('Update (or renew) session')
|
||||
->desc('Update session')
|
||||
->groups(['api', 'account'])
|
||||
->label('scope', 'account')
|
||||
->label('event', 'users.[userId].sessions.[sessionId].update')
|
||||
|
|
|
@ -1 +1 @@
|
|||
Extend session's expiry to increase it's lifespan. Extending a session is useful when session length is short such as 5 minutes.
|
||||
Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.
|
Loading…
Reference in a new issue