Org Webservice

Update MFA settings

Update organization MFA settings

post/api/org/updateMFASettings

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/org/updateMFASettings
  • Auth: API key in header x-auth-apikey

Headers

x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Request body

mfaEnabledboolean nullable

Whether MFA is enabled for the organization

v3AuthNumDaysSkip2FAForTrustedDevicesinteger nullable

Number of days to skip 2FA for trusted devices (< 0 = forever, 0 = always require 2FA, > 0 = days to skip)

Example request

{
  "mfaEnabled": true,
  "v3AuthNumDaysSkip2FAForTrustedDevices": 30
}

Response

OK

errorboolean nullable
errorCodestring nullable

Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.

errorMsgstring nullable
warningMsgstring nullable

Example response

{
  "org": {
    "companyLogoUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "keypadLogoUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "managingPartnerOrgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "rhombusKeyLogoUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.