You can call this operation to query whether an organization can be deleted.

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 DescribeFabricOrganizationDeletable

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

OrganizationId String Yes Peers-aaaaaa2-1eqnj5o5w ****

The ID of the organization.

Location String No cn-hangzhou

The location information.

RegionId String No cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
ErrorCode Integer 200

The error code.

RequestId String 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

Result

The result of the operation.

CodeName String name

The prefix of the domain name.

Deletable Boolean true

Indicates whether the organization can be deleted.

Domain String domain

The domain name.

OrganizationDescription String desc

The description of the organization.

OrganizationId String peers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

OrganizationName String orgname

The name of the organization.

RegionId String cn-hangzhou

The ID of the region.

State String Running

The status.

ZoneId String zone

The available zone.

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=DescribeFabricOrganizationDeletable
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&<Common request parameters>

Successful response examples

XML format

<DescribeFabricOrganizationDeletableResponse>
	  <Result>
		    <Deletable>true</Deletable>
		    <OrganizationId>consortium-xxxxxx</OrganizationId>
		    <CodeName>name</CodeName>
		    <Domain>domain</Domain>
		    <OrganizationDescription>desc</OrganizationDescription>
		    <OrganizationName>orgname</OrganizationName>
		    <RegionId>cn-hangzhou</RegionId>
		    <State>Running</State>
		    <ZoneId>zone</ZoneId>
	  </Result>
	  <RequestId>C445762C-8909-4BD8-A2BD-BB45BF2441D8</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</DescribeFabricOrganizationDeletableResponse>

JSON format

{
	"Result":{
		"OrganizationDescription":"desc",
		"State":"Running",
		"Domain":"domain",
		"RegionId":"cn-hangzhou",
		"CodeName":"name",
		"ZoneId":"zone",
		"OrganizationId":"consortium-xxxxxx",
		"Deletable":true,
		"OrganizationName":"orgname"
	},
	"RequestId":"C445762C-8909-4BD8-A2BD-BB45BF2441D8",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.