Skip to content
Testsigma DOCS

Delete a test run

DELETE/projects/:project_id/test_runs/:test_run_id

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

Permanently deletes a specific test run from a project.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
project_idUnique identifier of the project the test run belongs to.
test_run_idIdentifier of the test run to delete.
messageConfirmation message for the deletion; may be empty.
REQUEST
curl -X DELETE \
  'https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs/:test_run_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_runs/:test_run_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_runs/:test_run_id',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE204No Content
{
  "message": "Test run deleted successfully."
}