Complete first-time TOTP setup
Verify TOTP code and enable 2FA. Requires the setup token from login.
Body·
required
application/json
- Type: stringsetup
Token requiredToken from login response
- Type: stringtotp
Code requiredCode from authenticator app
Responses
- application/json
- application/json
Request Example for post/backoffice/auth/setup-totp
curl https://rgs.jackpot.studio/backoffice/auth/setup-totp \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"setupToken": "",
"totpCode": ""
}'
{
"$schema": "https://example.com/schemas/SetupTOTPOutputBody.json",
"token": "string"
}