cURL
curl --request PUT \ --url https://api.pathors.com/v1/projects/{projectId}/test-suites/{testSuiteId} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "testCaseIds": [ {} ] } '
{ "data": {} }
Update a test suite by ID
PUT https://api.pathors.com/v1/projects/{projectId}/test-suites/{testSuiteId}
curl -X PUT https://api.pathors.com/v1/projects/{projectId}/test-suites/{testSuiteId} \ -H "Authorization: Bearer dk_your_key" \ -H "Content-Type: application/json" \ -d '{ "name": "Updated regression suite", "testCaseIds": ["test-case-uuid-1", "test-case-uuid-3"] }'
{ "data": { "id": "test-suite-uuid", "projectId": "project-uuid", "name": "Updated regression suite", "testCases": [ { "id": "test-case-uuid-1" }, { "id": "test-case-uuid-3" } ], "createdAt": "2026-03-23T00:00:00.000Z", "updatedAt": "2026-03-23T00:00:00.000Z" } }