All Products
Search
Document Center

CDN:DescribeCdnFullDomainsBlockIPHistory

Last Updated:Aug 28, 2026

Queries the IP address blocking history.

Operation description

Note
  • To use this operation, submit a ticket.

  • For specified IP addresses and a time range, this operation returns the time when each IP address was delivered to the edge and the delivery result.

  • If a specified IP address or CIDR block has multiple blocking records in a specified time range, the records are sorted by delivery time in descending order.

  • The maximum time range to query is 90 days.

  • If no blocking record exists or delivery fails for the given 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 of the time range to query. Set this parameter to a value in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

2023-04-24T17:00:00Z

EndTime

string

Yes

The end of the time range to query. Set this parameter to a value in the ISO 8601 standard 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 blocking history records.

object

BlockIP

string

The blocked IP address or CIDR block.

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

DeliverTime

string

The delivery time.

2023-04-24 18:49:37

Status

string

The delivery status.

  • Success

  • Failed

Success

Code

integer

The response code.

A non-zero value indicates one of the following errors:

  • The format of the IP address is invalid.

  • The format of the time is invalid.

  • Other abnormal scenarios.

0

Description

string

The status description.

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.
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.