Email OTP

Create

post

Create a new Email OTP MFA.

Body

Create MFA of type Email OTP

namestring | nullableRequired

The name of the target Multi Factor Authentication. This must be the actual Multi Factor Authentication name used in the RAS farm.

siteIdinteger · int32Optional

Site ID in which to modify the specified Multi Factor Authentication. If the parameter is omitted, the site ID of the Licensing Server will be used.

descriptionstring | nullableOptional

A user-defined Multi Factor Authentication description.

enabledbooleanOptional

Enable or disable the Multi Factor Authentication upon creation. If the parameter is omitted, the Multi Factor Authentication is initialised as Disabled.

displayNamestring | nullableRequired

RADIUS type name.

userEnrollmentstring · enumOptional

User Enrollment

Possible values:
showInformationForUnenrolledUsersstring · enumOptional

Show information for unenrolled users

Possible values:
untilDateTimestring · date-time | nullableOptional

Allow User Enrollment until date/time

otpLifespanSecinteger · int32 | nullableOptional

The lifespan of the OTP (seconds)

externalEmailStoragestring · enumOptional

External email storage

Possible values:
emailContentstring | nullableOptional

The content of the email. Possible variables: %OTP%, %DURATION%

emailSubjectstring | nullableOptional

The subject of the email. Possible variables: %OTP%

userMessagePromptstring | nullableOptional

User message prompt

adCustomAttributestring | nullableOptional

AD Custom Attribute

allowEnrollExternalEmailboolean | nullableOptional

Allow enrollment of external email

otpLengthinteger · int32 | nullableOptional

The length of the OTP generated

Responses
post
/api/MFA/EmailOTP

Update

put

Update the Email OTP MFA Site Settings.

Path parameters
idinteger · int32Required

The ID for which to modify the MFA settings.

Body

Update MFA of type TOTP

namestring | nullableOptional

The new name of the target multi-factor authentication .

descriptionstring | nullableOptional

A user-defined multi-factor authentication description.

enabledboolean | nullableOptional

Enable or disable the specified multi-factor authentication in a site.

inheritDefaultCriteriaSettingsboolean | nullableOptional

If true default criteria settings will be inherited.

Responses
204

No Content

No content

put
/api/MFA/EmailOTP/{id}

No content

Last updated

Was this helpful?