Swap a browser session an approval made stale for one at the realm's current revision
POST
/api/v1/realm-browser/sessions/{session}/renew
const url = 'http://localhost:11044/api/v1/realm-browser/sessions/example/renew';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/realm-browser/sessions/example/renew \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session
required
string
Id of the unexpired browser session the page holds, opened by the signed-in user; it is exchanged for a new session id at the realm’s current revision that keeps the old expiry. Answers 403 when the installation or capture has changed or the app is no longer approved
Responses
Section titled “Responses”OK
Media type*/*

