Skip to main content
PUT
Set the Phone Factor Settings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

otp_length
integer
default:6
required

The length of the OTP code.

Required range: 4 <= x <= 10
otp_expiration_time
integer
default:300
required

The OTP expiration time in seconds.

Required range: 30 <= x <= 3600

Response

The phone factor settings have been successfully set.

otp_length
integer
default:6
required

The length of the OTP code.

Required range: 4 <= x <= 10
otp_expiration_time
integer
default:300
required

The OTP expiration time in seconds.

Required range: 30 <= x <= 3600