Skip to main content
POST
/
v1
/
auth
/
switch-mode
Switch the dashboard session between test and live mode
curl --request POST \
  --url https://api.example.com/v1/auth/switch-mode \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'

Authorizations

X-API-Key
string
header
required

Body

application/json

The body is of type object.

Response

200

New JWT bound to the chosen mode