v1

latestOpenAPI 3.0.2Mozilla Public License 2.02026-07-17307105155.2 KB
identity

Update or create a configuration for the given MFA method

post/identity/mfa/method/totp/{method_id}

Request body

algorithmstring

The hashing algorithm used to generate the TOTP token. Options include SHA1, SHA256 and SHA512.

digitsinteger

The number of digits in the generated TOTP token. This value can either be 6 or 8.

issuerstring

The name of the key's issuing organization.

key_sizeinteger

Determines the size in bytes of the generated key.

max_validation_attemptsinteger

Max number of allowed validation attempts.

method_idstring

The unique identifier for this MFA method.

periodinteger

The length of time used to generate a counter for the TOTP token calculation.

qr_sizeinteger

The pixel size of the generated square QR code.

skewinteger

The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1.

Response

OK