PUT api/2.0/settings/tfaapp
Updates the two-factor authentication settings with the type specified in the request.
Name |
Description |
Type |
Example |
type
sent in body
|
TFA type (None, Sms, or App)
|
ASC.Api.Settings.TfaSettingsType
|
|
trustedIps
sent in body
|
List of trusted IP addresses
|
Collection of strings
|
some text
|
mandatoryUsers
sent in body
|
List of users required for the TFA verification
|
System.Collections.Generic.List{System.Guid}
|
|
mandatoryGroups
sent in body
|
List of groups required for the TFA verification
|
System.Collections.Generic.List{System.Guid}
|
|
PUT api/2.0/settings/tfaapp
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"type": null,
"trustedIps": [
"some text"
],
"mandatoryUsers": [
"9924256A-739C-462b-AF15-E652A3B1B6EB"
],
"mandatoryGroups": [
"9924256A-739C-462b-AF15-E652A3B1B6EB"
]
}
True if an operation is successful