You can call this operation to enable or disable the logon security settings for an asset.


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 ModifyLoginSwitchConfig

The operation that you want to perform.

Set the value to ModifyLoginSwitchConfig.

Item String Yes login_common_account

Specifies the alert type that you want to enable or disable. Valid values:

  • login_common_ip: uncommon logon IP address alerts
  • login_common_time: uncommon logon time alerts
  • login_common_account: uncommon logon account alerts
Status Integer Yes 0

Specifies the status of the logon security settings. Valid values:

  • 0: disable
  • 1: enable

Response parameters

Parameter Type Example Description
RequestId String B256A525-7E42-4BB9-A27C-9017FDDFF1A2

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=ModifyLoginSwitchConfig
&<Common request parameters>

Sample success responses

XML format


JSON format

  "requestId": "B256A525-7E42-4BB9-A27C-9017FDDFF1A2"

Error code

For a list of error codes, visit the API Error Center.