v1 · OpenAPI 3.1Dashboard

End-user API (SDK)

Disable TOTP

POST/v1/client/mfa/totp/disable

Base URL: https://eu.auth.foxlogin.app, https://tr.auth.foxlogin.app

Needs a current TOTP code or a recovery code. Removes all recovery codes too.

Auth
User session token

Body application/json

  • codestringrequired

    For disable, a current TOTP code or a recovery code; for enable, a TOTP code only.

Responses

  • 204No Content

    Disabled

  • 400Bad RequestError

    invalid_mfa_code.

    • errorobjectrequired

      5 properties
      • codestringrequired

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Example: region_unavailable

      • messagestringrequired

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Values: EU TR

      • retryablebooleanrequired

      • detailsobject

  • 401UnauthorizedError

    Missing or invalid key or token. The Management API answers missing_api_key (no Bearer token) or invalid_api_key (unknown or revoked secret key or organization API key).

    • errorobjectrequired

      5 properties
      • codestringrequired

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Example: region_unavailable

      • messagestringrequired

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Values: EU TR

      • retryablebooleanrequired

      • detailsobject