Updates the custom domain name of an instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
cri-h0tvspmnglam5jw5 |
| ModuleName |
string |
Yes |
The modified domain name. |
Registry |
| Domain |
string |
Yes |
The custom domain name. |
registry-cn-guangzhou.ack.aliyuncs.com |
| CertId |
string |
Yes |
The certificate ID. |
21118442 |
| CertRegionId |
string |
No |
The region where the certificate resides. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. |
success |
| IsSuccess |
boolean |
Indicates whether the operation is successful. |
True |
| RequestId |
string |
The request ID. |
2EFAF75C-1FA7-5254-B044-E97291C170CC |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "2EFAF75C-1FA7-5254-B044-E97291C170CC"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.