1
0
Fork 0
mirror of synced 2024-06-01 10:29:48 +12:00

Update endpoint description

This commit is contained in:
Khushboo Verma 2024-03-01 16:35:52 +05:30
parent 9b0c94e9d0
commit 8ee64d43ce
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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.