Skip to content
developers
Open TestCollab

Delete reusable steps

DELETE/reusablesteps/{id}

Deletes a set of reusable steps

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

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

200 — Action status details

Illustrative response
{}
Status Meaning
401 Unauthorized
403 Forbidden
404 Not found
500 Internal server error