curl --request DELETE \
--url https://api.galtea.ai/tests/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"id_1",
"id_2"
]
}
'{
"error": "Error type",
"message": "Error message description"
}Soft delete multiple tests by their IDs. See Tests.
curl --request DELETE \
--url https://api.galtea.ai/tests/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"id_1",
"id_2"
]
}
'{
"error": "Error type",
"message": "Error message description"
}API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....
Array of test IDs to delete
["id_1", "id_2"]Tests deleted successfully