Skip to content
developers
Open TestCollab

Delete suite

DELETE/suites/{id}

Moves a suite and its active sub-suites and cases, including archived cases, to the project’s Trash for 60 days (). Existing delete permissions and eligibility checks still apply. The subtree acts as deleted in ordinary reads, while its data and linked copies remain available for company Administrator restoration. Items already in Trash retain their own entries and expiry times. Project deletion and BDD sync archival are unchanged.

Use resource IDs from your own project. Keep the API token in your server or CI environment.

example.ts
import { createConfiguration, SuitesApi } from '@testcollab/sdk';
const config = createConfiguration(process.env.TESTCOLLAB_TOKEN!);
const api = new SuitesApi(config);
const result = await api.deleteSuite({
"project": 123,
"id": 123
});
console.log(result);
Name Location Type Required Description
project query number Yes Project ID
id path number Yes Suite ID

200 — Suite deleted

Illustrative response
{}
Status Meaning
403 Forbidden