Skip to main content
DELETE
/
api
/
v2
/
projects
/
{project_id}
/
agent-datasets
/
{dataset_id}
/
test-cases
/
bulk
Bulk Delete Agent Test Cases
curl --request DELETE \
  --url https://{host}.freeplay.ai/api/v2/projects/{project_id}/agent-datasets/{dataset_id}/test-cases/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "test_case_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required
dataset_id
string
required

Body

application/json
test_case_ids
string<uuid>[]
required

Response

200 - application/json

EmptyResponse()

The response is of type EmptyResponse · object.