---
title: "Start Experiment Code Cleanup"
method: POST
path: "/console/v1/experiments/{id}/code_cleanup"
tags: ["Experiments", "Experiments"]
---

# Start Experiment Code Cleanup

`POST /console/v1/experiments/{id}/code_cleanup`

## Path parameters

- `id` string, required

## Response `200`

Start experiment code cleanup

- object
  - `message` string

## Other responses

- `400` — Experiment is not stale.
- `404` — Experiment not found.

---

[API](https://skmtc.net/statsig/apis/console-api.md) · [All operations](https://skmtc.net/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/statsig/console-api/revisions/3189f450c93b/schema)
