You can call this operation to update the name of a member of 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
Action String Yes UpdateAntChainMember

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

ConsortiumId String Yes AroN3X2l

The ID of the consortium to which the member to update belongs.

MemberId String Yes 1287126353301234

The ID of the member to update.

MemberName String Yes updatename

The new name for the member.

RegionId String No cn-hangzhou

The ID of the region where Ant Blockchain is used.

Response parameters

Parameter Type Example Description
RequestId String 5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E

The ID of the request.

Result String success

The result of the operation.

Examples

Sample requests


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

Sample success responses

XML format

<xml version="1.0" encoding="UTF-8">
	  <code>200</code>
	  <data>
		    <RequestId>5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E</RequestId>
		    <Result>success</Result>
	  </data>
	  <requestId>5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E</requestId>
	  <successResponse>true</successResponse>
</xml>

JSON format

{
	"successResponse":true,
	"requestId":"5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E",
	"data":{
		"Result":"success",
		"RequestId":"5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E"
	},
	"code":"200"
}

Error codes

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