cURL
curl --request PATCH \ --url https://api.example.com/v1/sessions/:id \ --header 'Content-Type: application/json' \ --data ' { "metadata": {}, "refresh": true } '
Update metadata or refresh the expiration of a session