You can call this operation to delete the specified logon security settings of 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": "09:00:00", "endTime": "18:00:00", "ip": "43.121.XX.XX/24", "location": "Xi'an", "account": "root", "switcher": 0}

The detailed configurations.

Type String Yes login_common_time

The type of the security settings that you want to delete.

  • login_common_ip: common logon IP addresses
  • login_common_time: common logon time
  • login_common_account: common logon accounts
Target String No 123-abc

The UUID of the server to which logon security settings are applied.

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": "09:00:00", "endTime": "18:00:00", "ip": "43.121.XX.XX/24", "location": "Xi'an", "account": "root", "switcher": 0 }
&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.