POST
/
api
/
trpc
/
agent.delete
curl --request POST \
  --url https://app.tryiris.dev/api/trpc/agent.delete \
  --header 'Content-Type: application/json' \
  --header 'IRIS_ACCESS_TOKEN: <iris_access_token>' \
  --data '{
  "0": {
    "json": {
      "data": {
        "where": {
          "id": "<string>"
        }
      }
    }
  }
}'

Delete Agent

Delete an existing AI agent by its ID.

Headers

IRIS_ACCESS_TOKEN
string
required

Your Iris API access token

Body

0
object
required

Response

Returns the deleted agent details upon success.