All Products
Search
Document Center

Container Registry:CreateInstanceCustomizedDomain

Last Updated:Jul 09, 2026

Creates a custom domain name for an instance.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

cri-xxxxxx

ModuleName

string

Yes

The custom module name.

Registry

Domain

string

Yes

The custom domain name.

test.com

CertId

string

Yes

The ID of the custom domain name certificate.

21428921

CertRegionId

string

No

The region to which the certificate belongs.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

Code

string

The return code.

success

IsSuccess

boolean

Indicates whether the request is successful.

True

RequestId

string

The request ID.

1FA54F8C-8849-57F9-8069-F5F15EE82BE2

Examples

Success response

JSON format

{
  "Code": "success",
  "IsSuccess": true,
  "RequestId": "1FA54F8C-8849-57F9-8069-F5F15EE82BE2"
}

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.