Delete Test Case
delete_test_caseArchive obsolete test cases to remove them from active views while preserving recoverable history. Requires confirmation to prevent accidental deletion.
Instructions
Archive an obsolete test case. ⚠️ CAUTION: Destructive.
This performs a SOFT DELETE (archive). The test case can typically be recovered from the Allure UI if needed.
⚠️ CAUTION: This action removes the test case from active views. Historical data and launch associations may be affected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"test_case_id": "<test_case_id>"
},
"name": "delete_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be set to True to proceed with deletion. Safety measure. | |
| project_id | No | Optional Allure TestOps project ID override. | |
| test_case_id | Yes | The Allure test case ID to archive. | |
| output_format | No | Output format: 'json' (default) or 'plain'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| error | No | ||
| action | No | Requested operation name. | |
| status | No | ||
| test_case_id | No | ||
| requires_confirmation | No |