You can call this operation to update a contract project in a consortium in Ant Blockchain.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ProjectId | String | Yes | bDXK1b8Z |
The ID of the contract project to update. |
Action | String | No | UpdateAntChainContractProject |
The operation that you want to perform. Set the value to UpdateAntChainContractProject. |
ProjectDescription | String | No | Updated project description |
The new description for the contract project. |
ProjectName | String | No | Updated project name |
The new name for the contract project. |
ProjectVersion | String | No | v1.1.1 |
The new version for the contract project. |
RegionId | String | No | cn-hangzhou |
The ID of the region where Ant Blockchain is used. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 9EBD381E-A19E-4875-8771-EDA08A0416D3 |
The ID of the request. |
Result | String | success |
The result of the operation. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateAntChainContractProject
&<Common request parameters>
Sample success responses
JSON
format
{
"successResponse":true,
"requestId":"9EBD381E-A19E-4875-8771-EDA08A0416D3",
"data":{
"Result":"success",
"RequestId":"9EBD381E-A19E-4875-8771-EDA08A0416D3"
},
"code":"200"
}
Error codes
For a list of error codes, visit the API Error Center.