Skip to content
developers
Open TestCollab

Updates a suite

PUT/suites/{id}

Suite to update

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.updateSuite({
"project": 123,
"id": 123,
"addSuitePayload": {
"parentId": 123,
"title": "Checkout smoke tests",
"project": 123
}
});
console.log(result);
Name Location Type Required Description
project query number Yes Project ID
id path number Yes Suite ID
Field Type Required Description
parent_id number Yes —
title string Yes —
description string No —
project number Yes —

200 — Suite Updated

Illustrative response
{}
Status Meaning
403 Forbidden