You can call this operation to delete the incorrect chaincode.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteFabricChaincode |
The operation that you want to perform. Set the value to DeleteFabricChaincode. |
ChaincodeId | String | No | code-sacc-1pr09q7jm**** |
The ID of the chaincode. |
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. |
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=DeleteFabricChaincode
&<Common request parameters>
Successful response examples
XML
format
<DeleteFabricChaincodeResponse>
<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</DeleteFabricChaincodeResponse>
JSON
format
{
"RequestId":"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
"ErrorCode":200,
"Success":true
}
Error codes
For more information about error codes, see Error codes.