You can call this operation to update the name of a blockchain in Ant Blockchain.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
AntChainId | String | Yes | pYogqb9v |
The ID of the blockchain whose name is to be updated. |
AntChainName | String | Yes | UpdatedAntChainName |
The new name for the blockchain. |
Action | String | No | UpdateAntChain |
The operation that you want to perform. Set the value to UpdateAntChain. |
RegionId | String | No | cn-hangzhou |
The ID of the region where Ant Blockchain is used. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47 |
The ID of the request. |
Result | String | success |
The result of the operation. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=UpdateAntChain
&<Common request parameters>
Sample success responses
JSON
format
{
"successResponse":true,
"requestId":"F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47",
"data":{
"Result":"success",
"RequestId":"F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47"
},
"code":"200"
}
Error codes
For a list of error codes, visit the API Error Center.