Skip to content
TestsigmaDOCS

Delete a test case

DELETE/projects/{project_id}/test_cases/{test_case_id}

Base URL https://test-management.testsigma.com/api/v1

Delete a specific test case identified by its unique ID from a project.

Authenticate with your API key as a Bearer token in theAuthorization header. Generate a key →
project_idUnique identifier of the project from which the test case will be deleted.
test_case_idUnique identifier (or human-readable ID) of the test case to delete.
messageA message indicating the result of the operation; may be empty on successful deletion.
REQUEST
curl -X DELETE \
  'https://test-management.testsigma.com/api/v1/projects/{project_id}/test_cases/{test_case_id}' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://test-management.testsigma.com/api/v1/projects/{project_id}/test_cases/{test_case_id}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.delete(
  'https://test-management.testsigma.com/api/v1/projects/{project_id}/test_cases/{test_case_id}',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200 OK
{
  "message": ""
}