Skip to content
TestsigmaDOCS

Delete a test plan

DELETE/projects/{project_id}/test_plans/{test_plan_id}

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

Permanently deletes a specific test plan from a project.

Authenticate with your API key as a Bearer token in theAuthorization header. Generate a key →
project_idUnique identifier of the project that contains the test plan.
test_plan_idUnique identifier of the test plan to delete.
(empty)Returns 204 No Content on success. No response body.
REQUEST
curl -X DELETE \
  'https://test-management.testsigma.com/api/v1/projects/{project_id}/test_plans/{test_plan_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_plans/{test_plan_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_plans/{test_plan_id}',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE204 No Content
null