All Products
Search
Document Center

CDN:DescribeCdnDeletedDomains

Last Updated:Nov 29, 2024

Queries the domain names that are deleted from your account.

Operation description

Note You can call this operation up to 10 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cdn:DescribeCdnDeletedDomainsget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberintegerNo

The number of the page to return. Valid values: 1 to 100000. Default value: 1.

1
PageSizeintegerNo

The number of domain names to return per page. Valid values: an integer between 1 and 500. Default value: 20.

5

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

AA75AADB-5E25-4970-B480-EAA1F5658483
PageNumberlong

The page number of the returned page, which is the same as the PageNumber parameter in request parameters.

1
PageSizelong

The number of domain names returned per page, which is the same as the PageSize parameter in request parameters.

5
TotalCountlong

The total number of domain names returned.

16
Domainsarray<object>

The list of accelerated domain names and the time each domain name was last modified.

PageDataobject

The information about the accelerated domain name.

GmtModifiedstring

The time when the accelerated domain name was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2015-10-28T11:05:52Z
DomainNamestring

The accelerated domain name.

example.com

Examples

Sample success responses

JSONformat

{
  "RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
  "PageNumber": 1,
  "PageSize": 5,
  "TotalCount": 16,
  "Domains": {
    "PageData": [
      {
        "GmtModified": "2015-10-28T11:05:52Z",
        "DomainName": "example.com"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError message
400InvalidPageNumber.ValueNotSupportedThe specified value of PageNumber is not supported.
400InvalidPageSize.ValueNotSupportedThe specified value of PageSize is invalid.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history