remove_cases_from_collection
Remove test cases from a test collection, permanently deleting their recorded status and step results while retaining the cases in the project library.
Instructions
Remove test cases from a test collection. Returns collectionId, collectionName and removed (count of case rows actually deleted); ids not present in the collection are ignored rather than raising an error. Destructive and not reversible: the recorded status and step results for those cases in this collection are deleted with them, while the test cases themselves stay in the project library. add_cases_to_collection is the inverse. To retire the whole collection instead use delete_test_collection, which archives it and preserves executions; to drop a source group from an Executions-page container use remove_source_from_execution; to archive the case itself project-wide use delete_test_case. collectionId comes from list_test_collections; caseIds are the numeric internal ids from list_test_cases, not TC-numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseIds | Yes | Numeric test case IDs to remove (e.g., [1, 2, 3]) | |
| collectionId | Yes | Test collection UUID |