---
title: "Delete a shadow experiment"
method: DELETE
path: "/v2/projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{id}"
tags: ["ShadowExperimentService"]
---

# Delete a shadow experiment

`DELETE /v2/projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{id}`

## Request

- Base URL: `https://api.together.ai`
- URL: `https://api.together.ai/v2/projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{id}`
- Auth: HTTP bearer

Deletes a shadow experiment and its target records. The underlying deployments are not deleted.

## Path parameters

- `projectId` string, required: Project identifier.
- `endpointId` string, required: Endpoint identifier.
- `id` string, required: Shadow experiment identifier.

## Query parameters

- `etag` string: Etag for optimistic concurrency.

## Response `200`

OK

- DEDeleteResponse: Empty response returned after a successful delete operation.

## Other responses

- `400`: Invalid request
- `default`: Default error response

## Changes

- **2026-10-22** `bb5257b3173a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/together/apis/together-apis/changes/v2/projects/:projectId/endpoints/:endpointId/shadowExperiments/:id/delete.md)

---

[API](https://skmtc.dev/together/apis/together-apis.md) - [All operations](https://skmtc.dev/together/apis/together-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/together/apis/together-apis/revisions/93438ddac711?raw)
