Modifies basic configurations in the logon security settings for a specific asset.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyLoginBaseConfig |
The operation that you want to perform. Set the value to ModifyLoginBaseConfig. |
Config | String | Yes | {"startTime":"00:00","endTime":"02:00"} |
The logon security settings for the specified asset. |
Target | String | Yes | i-ecs-ssssasss-xxxx |
The UUID of the server whose settings you want to modify. Note You can call the DescribeCloudCenterInstances operation to query the UUIDs.
|
Type | String | Yes | login_common_time |
The type of the common logon that you want to modify. 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 | 6BD40006-2A29-4769-8AB5-BC0F0E25C273 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyLoginBaseConfig
&Config={"startTime":"00:00","endTime":"02:00"}
&Target=i-ecs-ssssasss-xxxx
&Type=login_common_time
&<Common request parameters>
Sample success responses
XML
format
<ModifyLoginBaseConfigResponse>
<RequestId>6BD40006-2A29-4769-8AB5-BC0F0E25C273</RequestId>
</ModifyLoginBaseConfigResponse>
JSON
format
{
"RequestId":"6BD40006-2A29-4769-8AB5-BC0F0E25C273"
}
Error codes
For a list of error codes, visit the API Error Center.