You can call this operation to update a consortium in Ant Blockchain.

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
ConsortiumDescription String Yes ConsortiumDescriptionExample

The new description for the consortium.

ConsortiumId String Yes q0oWq92P

The ID of the consortium to update.

ConsortiumName String Yes ConsortiumNameExample

The new name for the consortium.

Action String No UpdateAntChainConsortium

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

RegionId String No cn-hangzhou

The ID of the region where Ant Blockchain is used.

Response parameters

Parameter Type Example Description
RequestId String 1E55C947-19B4-4AAD-9D22-0B8DA8904B3D

The ID of the request.

Result String success

The result of the operation.

Examples

Sample requests


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

Sample success responses

XML format

<xml version="1.0" encoding="UTF-8">
	  <code>200</code>
	  <data>
		    <RequestId>1E55C947-19B4-4AAD-9D22-0B8DA8904B3D</RequestId>
		    <Result>success</Result>
	  </data>
	  <requestId>1E55C947-19B4-4AAD-9D22-0B8DA8904B3D</requestId>
	  <successResponse>true</successResponse>
</xml>

JSON format

{
	"successResponse":true,
	"requestId":"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D",
	"data":{
		"Result":"success",
		"RequestId":"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D"
	},
	"code":"200"
}

Error codes

For a list of error codes, visit the API Error Center.