POST
/
api
/
trpc
/
test.delete

Delete Test

Delete a specific test by its ID.

Headers

IRIS_ACCESS_TOKEN
string
required

Your Iris API access token

Body

where
object
required

Query parameters to identify the test

Response

Returns the deleted test details upon success.

Response Fields

id
string

Unique identifier of the deleted test

name
string

Name of the test

description
string

Description of the test

url
string

URL where the test was configured to run

naturalLanguageInput
string

The test steps in natural language format

status
string

Status of the test (e.g., “DRAFT”)

isActive
boolean

Whether the test was active

projectId
string

ID of the project the test belonged to

createdById
string

ID of the user who created the test

createdAt
date

Timestamp when the test was created

updatedAt
date

Timestamp when the test was last updated