Skip to content
developers
Open TestCollab

Delete task

DELETE/tasks/{id}

Deletes a specific task

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

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

200 — Task deleted

Illustrative response
{}
Status Meaning
403 Forbidden