You can call this operation to delete the content of a contract project 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
ContentId String Yes GKX7KZX0

The ID of the file or folder to delete.

Action String No DeleteAntChainContractContent

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

RegionId String No cn-hangzhou

The ID of the region where Ant Blockchain is used.

Response parameters

Parameter Type Example Description
RequestId String 7E54F588-39DE-446F-9A16-B9BB0B05DF44

The ID of the request.

Result String success

The result of the operation.

Examples

Sample requests


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

Sample success responses

JSON format

{
	"successResponse":true,
	"requestId":"7E54F588-39DE-446F-9A16-B9BB0B05DF44",
	"data":{
		"Result":"success",
		"RequestId":"7E54F588-39DE-446F-9A16-B9BB0B05DF44"
	},
	"code":"200"
}

Error codes

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