Skip to main content
DELETE
/
test-sets
/
{test_set_id}
/
items
Remove test set items
curl --request DELETE \
  --url https://api.trymaitai.ai/api/v1/test-sets/{test_set_id}/items \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '{}'
{
  "data": {
    "deleted": true
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

test_set_id
integer
required

Body

application/json

The body is of type object.

Response

200 - application/json

Resource deleted.

data
object