v1 · OpenAPI 3.1Panel

API referansı İngilizcedir.

End-user API (SDK)

Disable TOTP

POST/v1/client/mfa/totp/disable

Temel 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.

Kimlik doğrulama
User session token

Gövde application/json

  • codestringzorunlu

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

Yanıtlar

  • 204No Content

    Disabled

  • 400Bad RequestError

    invalid_mfa_code.

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

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

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • 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).

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

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

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject