Enables or disables multi-factor authentication (MFA) for a workspace.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyOfficeSiteMfaEnabled

The operation that you want to perform. Set the value to ModifyOfficeSiteMfaEnabled.

MfaEnabled Boolean Yes true

Specifies whether to enable MFA. Valid values:

  • true: enables MFA
  • false: disables MFA
OfficeSiteId String Yes cn-hangzhou+dir-363353****

The ID of the workspace.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 5CC5E450-FC43-4F5B-B540-9964BD313427

The ID of the request.


Sample requests

&<Common request parameters>

Sample success response

XML format


JSON format