Skip to main content
POST
Switch between live and test

Authorizations

Authorization
string
header
required

access_token from register or login. Expires after JWT_TTL (default 15m) or when the session ends.

Body

application/json
mode
enum<string>
required

The environment to switch to.

Available options:
live,
test

Response

A session in the other environment.

status
object
required
data
object