cURL
curl --request POST \ --url https://api.example.com/v2/databases/{database}/auth/session/token
{ "user": { "name": "User Name", "email": "user@example.com", "image": "https://example.com/user.png" }, "expires": "2024-07-16T19:20:30.450Z" }
Refreshes the session token to extend the session duration.
The string (id or name, depending on the credentials)
Session token refreshed
Show child attributes
"2024-07-16T19:20:30.450Z"
Was this page helpful?