You can call this operation to check whether the domain name is valid.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CheckFabricOrganizationDomain

The operation that you want to perform. Set the value to CheckFabricOrganizationDomain.

Domain String No bank

The prefix of the domain name.

No need to include the root domain name obtained by the DescribeRootDomain operation.

DomainCode String No bank

The domain name.

RegionId String No cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
ErrorCode Integer 200

The error code.

RequestId String C30A14C7-800E-468B-9EB2-C704DA49295E

The ID of the API request.

Result

The result of the check.

Domain String bank

Returns the domain name entered by the user.

Prompt String OK

The prompt message.

Valid Boolean true

Indicated whether the domain name is valid.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=CheckFabricOrganizationDomain
&<Common request parameters>

Successful response examples

XML format

<CheckFabricOrganizationDomainResponse>
	  <Result>
		    <Prompt>OK</Prompt>
		    <Domain>canyouguessme</Domain>
		    <Valid>true</Valid>
	  </Result>
	  <RequestId>C30A14C7-800E-468B-9EB2-C704DA49295E</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</CheckFabricOrganizationDomainResponse>

JSON format

{
	"Result":{
		"Prompt":"OK",
		"Domain":"canyouguessme",
		"Valid":true
	},
	"RequestId":"C30A14C7-800E-468B-9EB2-C704DA49295E",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.