Email OTP

Create

post

Create a new Email OTP MFA.

Body

Create MFA of type Email OTP

namestring · min: 1 · max: 255 · 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 · max: 200 · 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 · min: 1 · max: 2048 · nullableOptional

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

emailSubjectstring · min: 1 · max: 300 · nullableOptional

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

userMessagePromptstring · max: 300 · nullableOptional

User message prompt

adCustomAttributestring · min: 1 · max: 200 · 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 · min: 1 · max: 255 · 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
put
/api/MFA/EmailOTP/{id}

No content

Last updated

Was this helpful?