DELETE
/
v1
/
testset
/
{testset_id}
/
testcase
/
{testcase_id}
curl --request DELETE \
  --url https://api.getscorecard.ai/v1/testset/{testset_id}/testcase/{testcase_id} \
  --header 'X-API-Key: <api-key>'
{
  "id": 1,
  "detail": "Testcase 1 deleted successfully."
}

Authorizations

X-API-Key
string
header
required

Path Parameters

testcase_id
integer
required

The ID of the Testcase to delete.

testset_id
integer
required

The ID of the Testset to delete the Testcase from.

Response

200
application/json
Successful Response
id
integer
required

The ID of the testcase that was deleted.

detail
string
required

The message indicating the testcase was deleted.