Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to modify a shared CNAME. Currently, it only supports modifying the description and settings of a shared CNAME, and associating an IP SSL domain name with an IP SSL shared CNAME. Once created, a shared CNAME itself cannot be modified. This feature is in beta test.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifySharedCNAME. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | ID of the site associated with the shared CNAME. |
| SharedCNAME | Yes | String | Shared CNAME. |
| Description | No | String | Enter the adjusted description. |
| IPSSLSetting | No | IPSSLSetting | Set the IP SSL info of the shared CNAME of IP SSL type. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifySharedCNAME
<Common request parameters>
{
"ZoneId": "zone-3njjbwxjh9uh",
"SharedCNAME": "qwde31a.3njjbwxjh9uh.share.eodev-ov.com",
"Description": "For shared CNAME IP binding SSL",
"IPSSLSetting": {
"Operation": "bind",
"AssociatedDomain": "oshare1.more.top"
}
}
{
"Response": {
"RequestId": "d5975d48-af10-4ceb-b730-1f00e41463f5"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| OperationDenied.DomainMustInIPSSLSharedCNAMEZoneAndInSharedCNAME | The domain name must be in the site associated with the IP SSL shared CNAME and in the IP SSL shared CNAME. |
| OperationDenied.IPSSLAlreadyBoundAnotherDomain | IP SSL is bound to other domains. No operations allowed. |
| OperationDenied.LastIPSSLOperationNotComplete | The domain name associated with the last IP SSL operation has not completed launch yet. Wait for launch completion before proceeding. |
| ResourceNotFound | The resource does not exist. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários