PUT api/2.0/settings/tfaapp This function requires authentication

Description

Updates the two-factor authentication settings with the parameters specified in the request.

Parameters
Name Description Type Example
Type
sent in body
TFA type (None, Sms, or App) System.String
Id
sent in body
User ID System.Nullable{System.Guid}
TrustedIps
sent in body
List of trusted IP addresses System.Collections.Generic.List{System.String}
MandatoryUsers
sent in body
List of users who must use the TFA verification System.Collections.Generic.List{System.Guid}
MandatoryGroups
sent in body
List of groups who must use the TFA verification System.Collections.Generic.List{System.Guid}
Example
PUT api/2.0/settings/tfaapp
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Type": "some text",
  "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
  "TrustedIps": [
    "some text"
  ],
  "MandatoryUsers": [
    "9924256A-739C-462b-AF15-E652A3B1B6EB"
  ],
  "MandatoryGroups": [
    "9924256A-739C-462b-AF15-E652A3B1B6EB"
  ]
}
Returns

True if the operation is successful