---
title: "Remove test event"
method: DELETE
path: "/api/projects/{projectId}/test-events/{testEventId}"
tags: ["Test events"]
---

# Remove test event

`DELETE /api/projects/{projectId}/test-events/{testEventId}`

Delete an existing test event from a project.

## Path parameters

- `testEventId` string, uuid, required
- `projectId` string, uuid, required

## Response `200`

The deleted test event

- object — The deleted test event
  - `id` string, uuid, required — Unique identifier of the test event
  - `name` string, required — Name of the test event
  - `context` string, required — JSON context data for the test event
  - `category` 'private' | 'shared' | 'global', required — Category of the test event (private, shared, or global)
  - `projectId` string, uuid, required — ID of the project this test event belongs to
  - `userId` string, uuid, nullable — ID of the user who owns this test event (for private events)
  - `documentId` string, uuid, nullable — ID of the document this test event is associated with

---

[API](https://skmtc.net/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.net/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/versions/52c0773fcd80/schema)
