Help Center/ Edge Security/ CLI Reference/ CLI Command Reference
Updated on 2026-09-18 GMT+08:00

CLI Command Reference

Protected Domain Name Management

API Name

Command

Description

Operation

Querying the Protected Domain Name List

hcloud EdgeSec ShowDomains

Queries the protection domain name list.

Go debug

Creating a Domain Name

hcloud EdgeSec CreateDomain

This API is used to create a protected domain name.

Go debug

Querying Details About a Protected Domain Name

hcloud EdgeSec ShowDomainDetail

This API is used to query a protected domain name.

Go debug

Updating Protected Domain Names

hcloud EdgeSec UpdateDomain

This API is used to update protected domain names.

Go debug

Deleting a Protected Domain Name

hcloud EdgeSec DeleteDomain

This API is used to delete a protected domain name.

Go debug

HTTP Protection Policy Management

API Name

Command

Description

Operation

This API is used to query the protection policy list.

hcloud EdgeSec ShowHttpPolicies

This API is used to query the protection policy list.

Go debug

This API is used to create a protection policy.

hcloud EdgeSec CreateHttpPolicy

This API is used to create a protection policy.

Go debug

This API is used to query a protection policy.

hcloud EdgeSec ShowHttpPolicy

This API is used to query a protection policy.

Go debug

This API is used to update a protection policy.

hcloud EdgeSec UpdateHttpPolicy

This API is used to update a protection policy.

Go debug

This API is used to delete a protection policy.

hcloud EdgeSec DeleteHttpPolicy

This API is used to delete a protection policy.

Go debug

This API is used to update domain names a policy applies to.

hcloud EdgeSec ApplyHttpPolicy

This API is used to update domain names a policy applies to.

Go debug

This API is used to update a protection policy rule.

hcloud EdgeSec UpdateHttpPolicyRuleStatus

This API is used to update a protection policy rule.

Go debug

HTTP Protection Rule Management - CC

API Name

Command

Description

Operation

This API is used to query the CC attack defense rules.

hcloud EdgeSec ShowHttpCcRules

This API is used to query the CC attack defense rules.

Go debug

This API is used to create a CC attack protection rule.

hcloud EdgeSec CreateHttpCcRule

This API is used to create a CC attack protection rule.

Go debug

This API is used to query a CC rule.

hcloud EdgeSec ShowHttpCcRule

This API is used to query a CC rule.

Go debug

This API is used to update a CC protection rule.

hcloud EdgeSec UpdateHttpCcRule

This API is used to update a CC protection rule.

Go debug

This API is used to delete a CC rule.

hcloud EdgeSec DeleteHttpCcRule

This API is used to delete a CC rule.

Go debug

HTTP Protection Rule Management - Precise Protection

API Name

Command

Description

Operation

This API is used to query precise protection rules.

hcloud EdgeSec ShowHttpAccessControlRules

This API is used to query precise protection rules.

Go debug

This API is used to create a precise protection rule.

hcloud EdgeSec CreateHttpAccessControlRule

This API is used to create a precise protection rule.

Go debug

This API is used to query a precise protection rule.

hcloud EdgeSec ShowHttpAccessControlRule

This API is used to query a precise protection rule.

Go debug

This API is used to update a precise protection rule.

hcloud EdgeSec UpdateHttpAccessControlRule

This API is used to update a precise protection rule.

Go debug

This API is used to delete a precise protection rule.

hcloud EdgeSec DeleteHttpAccessControlRule

This API is used to delete a precise protection rule.

Go debug

HTTP Protection Rule Management - IP Address Blacklist and Whitelist

API Name

Command

Description

Operation

This API is used to query IP address blacklist and whitelist rules.

hcloud EdgeSec ShowHttpBlockTrustIpRules

This API is used to query IP address blacklist and whitelist rules.

Go debug

This API is used to create an IP address blacklist or whitelist rule.

hcloud EdgeSec CreateHttpBlockTrustIpRule

This API is used to create an IP address blacklist or whitelist rule.

Go debug

This API is used to query an IP address blacklist or whitelist rule.

hcloud EdgeSec ShowHttpBlockTrustIpRule

This API is used to query an IP address blacklist or whitelist rule.

Go debug

This API is used to update an IP address blacklist or whitelist rule.

hcloud EdgeSec UpdateHttpBlockTrustIpRule

This API is used to update an IP address blacklist or whitelist rule.

Go debug

This API is used to delete a blacklist or whitelist rule.

hcloud EdgeSec DeleteHttpBlockTrustIpRule

This API is used to delete a blacklist or whitelist rule.

Go debug

HTTP Protection Rule Management - Geographical Location

API Name

Command

Description

Operation

This API is used to query the geolocation access control rules.

hcloud EdgeSec ShowHttpGeoIpRules

This API is used to query the geolocation access control rules.

Go debug

This API is used to create a geolocation access control rule.

hcloud EdgeSec CreateHttpGeoIpRule

This API is used to create a geolocation access control rule.

Go debug

This API is used to query a geolocation access control rule.

hcloud EdgeSec ShowHttpGeoIpRule

This API is used to query a geolocation access control rule.

Go debug

This API is used to update a geolocation access control rule.

hcloud EdgeSec UpdateHttpGeoIpRule

This API is used to update a geolocation access control rule.

Go debug

This API is used to delete a geolocation access control rule.

hcloud EdgeSec DeleteHttpGeoIpRule

This API is used to delete a geolocation access control rule.

Go debug

HTTP Protection Rule Management - False Alarm Masking

API Name

Command

Description

Operation

This API is used to query false alarm masking rules.

hcloud EdgeSec ShowHttpIgnoreRules

This API is used to query false alarm masking rules.

Go debug

This API is used to add a false alarm masking rule.

hcloud EdgeSec CreateHttpIgnoreRule

This API is used to add a false alarm masking rule.

Go debug

This API is used to query a false alarm masking rule.

hcloud EdgeSec ShowHttpIgnoreRule

This API is used to query a false alarm masking rule.

Go debug

This API is used to update a false alarm masking rule.

hcloud EdgeSec UpdateHttpIgnoreRule

This API is used to update a false alarm masking rule.

Go debug

This API is used to delete a false alarm masking rule.

hcloud EdgeSec DeleteHttpIgnoreRule

This API is used to delete a false alarm masking rule.

Go debug

This API is used to reset a false alarm masking rule.

hcloud EdgeSec ResetHttpIgnoreRule

This API is used to reset a false alarm masking rule.

Go debug

HTTP Protection Rule Management - Attack Penalty

API Name

Command

Description

Operation

Querying Known Attack Source Rules

hcloud EdgeSec ShowHttpPunishmentRules

This API is used to query known attack source rules.

Go debug

Creating a Known Attack Source Rule.

hcloud EdgeSec CreateHttpPunishmentRule

This API is used to create a known attack source rule.

Go debug

Querying a Penalty Rule

hcloud EdgeSec ShowHttpPunishmentRule

This API is used to query a penalty rule.

Go debug

Updating a Known Attack Source Rule

hcloud EdgeSec UpdateHttpPunishmentRule

This API is used to update a known attack source rule.

Go debug

Deleting a Known Attack Source Rule

hcloud EdgeSec DeleteHttpPunishmentRule

This API is used to delete a known attack source rule.

Go debug

IP Address Group Management

API Name

Command

Description

Operation

Querying IP Address Groups

hcloud EdgeSec ShowHttpIpGroups

This API is used to query IP address groups.

Go debug

Creating an IP Address Group

hcloud EdgeSec CreateHttpIpGroup

This API is used to create an IP address group.

Go debug

Querying an IP Address Group

hcloud EdgeSec ShowHttpIpGroup

This API is used to query an IP address group.

Go debug

Updating an IP Address Group

hcloud EdgeSec UpdateHttpIpGroup

This API is used to update an IP address group.

Go debug

Deleting an IP Address Group

hcloud EdgeSec DeleteHttpIpGroup

This API is used to delete an IP address group.

Go debug

Security Overview

API Name

Command

Description

Operation

Querying Website Request Statistics

hcloud EdgeSec ShowHttpStatistics

This API is used to query website request statistics.

Go debug

Querying Attack Domain Names

hcloud EdgeSec ShowHttpOverviews

This API is used to query top security information, including the attack domain name, attack source IP address, attack URL, attack source region, and protection type.

Go debug

Reference Table Management

API Name

Command

Description

Operation

Querying the Reference Table List

hcloud EdgeSec ShowHttpReferenceTables

This API is used to query the reference table list.

Go debug

Creating a Reference Table

hcloud EdgeSec CreateHttpReferenceTable

This API is used to create a reference table.

Go debug

Updating a Reference Table

hcloud EdgeSec UpdateHttpReferenceTable

This API is used to update a reference table.

Go debug

Deleting a Reference Table

hcloud EdgeSec DeleteHttpReferenceTable

This API is used to delete a reference table.

Go debug

DDoS Statistics

API Name

Command

Description

Operation

Querying the Timeline Data of DDoS Attack Statistics

hcloud EdgeSec ShowDdosAttackTimelineStats

This API is used to query the timeline data of DDoS attack statistics.

Go debug

HTTP Statistics

API Name

Command

Description

Operation

Querying HTTP Attack Distribution Data

hcloud EdgeSec ShowHttpAttackDistributionStats

This API is used to query HTTP attack distribution data.

Go debug

Querying the Timeline Data of HTTP Attack Statistics

hcloud EdgeSec ShowHttpAttackTimelineStats

This API is used to query the timeline data of HTTP attack statistics.

Go debug

Querying Top HTTP Attacks

hcloud EdgeSec ShowHttpAttackTopStats

This API is used to query top HTTP attacks.

Go debug

DDoS Attack Logs

API Name

Command

Description

Operation

Querying DDoS Attack Logs

hcloud EdgeSec ShowDdosAttackLogs

This API is used to query DDoS attack logs.

Go debug

Downloading DDoS Attack Logs

hcloud EdgeSec DownloadDdosAttackLogs

This API is used to download DDoS attack logs.

Go debug