Deletes basic configurations from the logon security settings for a specific asset.

Debugging

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 DeleteLoginBaseConfig

The operation that you want to perform.

Set the value to DeleteLoginBaseConfig.

Config String Yes {"startTime":"06:00:00","endTime":"16:00:00"}

The configuration that you want to delete. The configurations depend on logon types. Valid values:

  • login_common_ip: common logon IP addresses

    Example: {"ip":"10.23.23.23"}.

  • login_common_time: common logon time

    Example: {"startTime":"06:00:00", "endTime":"16:00:00"}.

  • login_common_account: common logon accounts

    Example: {"account":"test_account_001"}.

  • login_common_location: common logon locations

    Example: {"location":"Shanghai"}.

Type String Yes login_common_time

The type of the common logon that you want to delete. Valid values:

  • login_common_ip: common logon IP addresses
  • login_common_time: common logon time
  • login_common_account: common logon accounts
  • login_common_location: common logon locations
Target String No 4fe8e1cd-3c37-4851-b9de-124da32c****

The UUID of the server whose settings you want to delete.

Note You can call the DescribeCloudCenterInstances operation to query the UUIDs.

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 7E0618A9-D5EF-4220-9471-C42B5E92719F

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteLoginBaseConfig
&Config={"startTime":"06:00:00","endTime":"16:00:00"}
&Type=login_common_time
&<Common request parameters>

Sample success responses

XML format

<DeleteLoginBaseConfigResponse>
      <RequestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</RequestId>
</DeleteLoginBaseConfigResponse>

JSON format

{
  "RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F"
}

Error codes

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