Enables or disables the logon security settings for a specific asset.
Debugging
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 |
The type of the alert that you want to enable or disable. Valid values:
|
Status | Integer | Yes | 0 |
The status of the logon security settings. Valid values:
|
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | B256A525-7E42-4BB9-A27C-9017FDDFF1A2 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyLoginSwitchConfig
&Item=login_common_account
&Status=0
&<Common request parameters>
Sample success responses
XML
format
<ModifyLoginSwitchConfigResponse>
<RequestId>B256A525-7E42-4BB9-A27C-9017FDDFF1A2</RequestId>
</ModifyLoginSwitchConfigResponse>
JSON
format
{
"RequestId": "B256A525-7E42-4BB9-A27C-9017FDDFF1A2"
}
Error codes
For a list of error codes, visit the API Error Center.