All Products
Search
Document Center

WUYING Workspace:ModifyOfficeSiteMfaEnabled

Last Updated:Apr 03, 2024

Enables or disables multi-factor authentication (MFA) for an enterprise Active Directory (AD) office network (formerly workspace).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
OfficeSiteIdstringYes

The office network ID.

cn-hangzhou+dir-363353****
MfaEnabledbooleanYes

Specifies whether to enable MFA.

Valid values:

  • true

  • false

true

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history