Modifies basic configurations in the logon security settings for a specific 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 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:

  • login_common_ip: common logon IP addresses
  • login_common_time: common logon time
  • login_common_account: common logon accounts

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.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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