@@ -41,7 +41,7 @@ import TabItem from '@theme/TabItem'
41
41
<TabItem value="curl">
42
42
43
43
```shell script
44
- $ curl 'https://{your-project-slug}.projects.oryapis.com/admin/sessions/ede90ce6-2420-435a-a745-3d8ab1a9636c/extend' \
44
+ $ curl -X PATCH 'https://{your-project-slug}.projects.oryapis.com/admin/sessions/ede90ce6-2420-435a-a745-3d8ab1a9636c/extend' \
45
45
-H 'Accept: application/json' | jq
46
46
47
47
{
@@ -90,18 +90,18 @@ $ curl 'https://{your-project-slug}.projects.oryapis.com/admin/sessions/ede90ce6
90
90
91
91
Refreshing sessions causes database writes.
92
92
93
- To reduce the database load, you can limit the time in which the session can be refreshed by adjusting the ` earliest_refresh `
93
+ To reduce the database load, you can limit the time in which the session can be refreshed by adjusting the ` earliest_possible_extend `
94
94
configuration.
95
95
96
- For example, if you set ` earliest_refresh ` to ` 24h ` , sessions can't be refreshed until 24 hours before they expire. This setting
96
+ For example, if you set ` earliest_possible_extend ` to ` 24h ` , sessions can't be refreshed until 24 hours before they expire. This setting
97
97
prevents putting excessive load on the database.
98
98
99
- If you need high flexibility when extending sessions, you can set ` earliest_refresh ` to ` lifespan ` , which allows sessions to be
99
+ If you need high flexibility when extending sessions, you can set ` earliest_possible_extend ` to ` lifespan ` , which allows sessions to be
100
100
refreshed during their entire lifespan, even right after they are created.
101
101
102
102
:::warning
103
103
104
- If you set ` earliest_refresh ` to ` lifespan ` , all sessions will constantly be refreshed!
104
+ If you set ` earliest_possible_extend ` to ` lifespan ` , all sessions will constantly be refreshed!
105
105
106
106
:::
107
107
0 commit comments