---
title: "Delete a draft experiment"
method: DELETE
path: "/api/v1/experiments/{experiment_id}"
tags: ["experiments"]
---

# Delete a draft experiment

`DELETE /api/v1/experiments/{experiment_id}`

## Request

- Base URL: `https://api.outrival.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outrival.com/api/v1/experiments/{experiment_id}`
- Auth: HTTP bearer

Remove a draft that will never launch. Only a draft — nothing else.

A draft has served nobody, so deleting it erases no history. The audit
events survive the row on purpose (``experiment_events.entity_id`` is not
a foreign key), so who created and who deleted it stays answerable.

## Path parameters

- `experiment_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `400`: Invalid experiment ID format
- `403`: User may not edit this experiment's campaign
- `404`: No such experiment
- `409`: The experiment is not a draft. A launched experiment is concluded or canceled, never erased — its record is what its contacts were measured under
- `422`: Validation Error

## Changes

- **2026-09-03** `219a10b80707`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outrival/apis/outrival-api/changes/api/v1/experiments/:experiment_id/delete.md)

---

[API](https://skmtc.dev/outrival/apis/outrival-api.md) - [All operations](https://skmtc.dev/outrival/apis/outrival-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outrival/apis/outrival-api/revisions/f27d90300b5e?raw)
