API Reference
Confirm TOTP re-enrollment
POST
/api/users/me/totp/confirm
Verifies a TOTP code against the newly enrolled secret to activate it.
Operation IDconfirmTotpReEnroll
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Request body
This request body is required.
Content typeapplication/json
requestobject1 property
codestringrequiredSuccess response body
200TOTP re-enrollment confirmed
TOTP re-enrollment confirmed
Content typeapplication/json
responseobject1 property
successbooleanError responses
401Invalid TOTP code
Invalid TOTP code
No response content schema is documented.
429Too many requests
Too many requests
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "RATE_LIMITED",
"message": "Too many failed TOTP attempts. Try again later."
}