All Products
Search
Document Center

CDN:DescribeCdnFullDomainsBlockIPHistory

Last Updated:Oct 10, 2026

Queries the IP blocking history.

Operation description

Note
  • You must submit a ticket to apply for access to this operation.

  • Returns the delivery time and corresponding results for a specified IP address and time range.

  • If multiple delivery records exist for the specified IP address or CIDR block within the specified time range, the records are sorted in descending order of delivery time.

  • The maximum time range for a query is 90 days.

  • If no delivery record exists or the delivery fails for the specified IP address and time range, the delivery time is empty.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cdn:DescribeCdnFullDomainsBlockIPHistory

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

IPList

string

Yes

The IP addresses or CIDR blocks to query.

1.XXX.XXX.1,2.XXX.XXX.2

StartTime

string

Yes

The start time of the query. Specify the time in the YYYY-MM-DDThh:mm:ssZ format.

2023-04-24T17:00:00Z

EndTime

string

Yes

The end time of the query. Specify the time in the YYYY-MM-DDThh:mm:ssZ format. The end time must be later than the start time.

2023-04-24T19:00:00Z

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

BCD7D917-76F1-442F-BB75-C810DE34C761

IPBlockInfo

array<object>

The operation results.

object

BlockIP

string

The delivered IP addresses or CIDR blocks.

1.XXX.XXX.0~1.XXX.XXX.255

DeliverTime

string

The delivery time. The time is in the YYYY-MM-DD HH:mm:ss format.

2023-04-24 18:49:37

Status

string

The delivery status. Valid values:

  • Success: The delivery succeeded.

  • Failed: The delivery failed, or no delivery record exists.

Success

Code

integer

The result code. If the code is not 0, one of the following conditions may apply:

  • The IP address format is invalid.

  • The time format is invalid.

  • Other errors.

0

Description

string

The status description returned by the operation.

OK

Examples

Success response

JSON format

{
  "RequestId": "BCD7D917-76F1-442F-BB75-C810DE34C761",
  "IPBlockInfo": [
    {
      "BlockIP": "1.XXX.XXX.0~1.XXX.XXX.255\n",
      "DeliverTime": "2023-04-24 18:49:37\n",
      "Status": "Success"
    }
  ],
  "Code": 0,
  "Description": "OK"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is invalid. An exception occurred while deleting the live streaming region.
400 QuotaExceeded The quota is exceeded. The quota is exhausted.
500 InternalServerError internal server error A service error occurred.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.