Delete Data Comparison Task
Use this API to delete a specified data comparison task. Delete only tasks that are no longer needed for comparison, audit, or troubleshooting workflows.
Request URL: /openapi/v1/comparedata/delete
Request Method: POST
Before You Call
taskId can be obtained from data in the successful response of Create Data Comparison Task, or confirmed through data.id returned by Query Data Comparison Main Task Details.
Request Body
{
"taskId": "cd-tepmjmnj6o"
}
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| taskId | String | Yes | ID of the comparison task to delete. | cd-tepmjmnj6o |
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request is successful. | true |
| requestId | String | Request ID, which can be used for troubleshooting and tracing. | Gr5o3LFM-ekklfZFnffmi6KSdgih9DIP |
Successful Invocation Example
{
"success": true,
"requestId": "Gr5o3LFM-ekklfZFnffmi6KSdgih9DIP"
}
Result
A successful response confirms that the delete request was accepted. Query the task details afterward if your automation needs to confirm that the task is no longer available.