Skip to content

Switch the active session (multi-session)

POST
/_torii/auth/session/activate
curl --request POST \
--url https://your-app.toriiauth.eu/_torii/auth/session/activate \
--header 'Content-Type: application/json' \
--data '{ "sessionId": "example" }'

Rotates the target session’s credential and re-issues the session cookie for it, making that account the active one on this browser. Authenticated by the client cookie; 403 when multi-session is disabled for the environment, 404 when the session is not on this client or no longer active.

Origin
string
Host
string
Media typeapplication/json
object
sessionId
required
string
Examplegenerated
{
"sessionId": "example"
}

OK

Media typeapplication/json
object
Examplegenerated
{}