Start typing to search.

API Reference

Confirm TOTP re-enrollment

View Markdown
POST /api/users/me/totp/confirm

Verifies a TOTP code against the newly enrolled secret to activate it.

Operation IDconfirmTotpReEnroll

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Request body

This request body is required.

Content typeapplication/json

requestobject
1 property
codestringrequired

Success response body

200TOTP re-enrollment confirmed

TOTP re-enrollment confirmed

Content typeapplication/json

responseobject
1 property
successboolean

Error responses

401Invalid TOTP code

Invalid TOTP code

No response content schema is documented.

429Too many requests

Too many requests

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "RATE_LIMITED",
  "message": "Too many failed TOTP attempts. Try again later."
}