All Products
Search
Document Center

CDN:ChangeCdnDomainToDcdn

Last Updated:Aug 06, 2024

Transfer a domain name from Alibaba Cloud CDN to DCDN.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:ChangeCdnDomainToDcdnnone
  • Domain
    acs:cdn:*:{#accountId}:domain/{#DomainName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringYes

The accelerated domain name. You can specify only one domain name in each request.

example.com
OperationstringNo

The operation to perform. Set the value to preCheck. Precheck is performed, and the result is returned. If the precheck passes, set the value to enforce to perform the transfer.

preCheck

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

E6172599-7DA7-5471-9D22-359A4E0C9B94
Contentobject

The content of the migration instructions.

{ "The_domain_name_quota_for_the_target_account_has_reached_the_upper_limit": true, "Domain_name_requires_node2_architecture_to_be_enabled": true, "Internal_customer_domain_name_migration_prohibited": true, "Prohibit_the_migration_of_important_customer_domain_names": true, "Protected_domain_names_are_prohibited_from_migration": true, "Domain_names_accessed_through_TopDomain_are_prohibited_from_migration": true, "Prohibit_migration_of_customer_domain_names_for_integrated_access": true }

Examples

Sample success responses

JSONformat

{
  "RequestId": "E6172599-7DA7-5471-9D22-359A4E0C9B94",
  "Content": {
    "The_domain_name_quota_for_the_target_account_has_reached_the_upper_limit": true,
    "Domain_name_requires_node2_architecture_to_be_enabled": true,
    "Internal_customer_domain_name_migration_prohibited": true,
    "Prohibit_the_migration_of_important_customer_domain_names": true,
    "Protected_domain_names_are_prohibited_from_migration": true,
    "Domain_names_accessed_through_TopDomain_are_prohibited_from_migration": true,
    "Prohibit_migration_of_customer_domain_names_for_integrated_access": true
  }
}

Error codes

HTTP status codeError codeError messageDescription
400DomainVerifyFailDomain verification failed.Domain name verification failed.
403DcdnServiceNotFoundYour account does not open DCDN service yet.-
403%sServiceRiskedYour %s service is risked.-
403%sServiceSuspendedYour %s service is suspended.-

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

Change history

Change timeSummary of changesOperation
2023-08-29The Error code has changed. The request parameters of the API has changedView Change Details
2023-08-29The Error code has changed. The request parameters of the API has changedView Change Details
2023-08-17The Error code has changedView Change Details