---
title: "Revert Experiment Endpoint"
method: POST
path: "/api/v1/gm/experiment/{experiment_id}/revert"
tags: ["gm", "gm"]
---

# Revert Experiment Endpoint

`POST /api/v1/gm/experiment/{experiment_id}/revert`

## Request

- Base URL: `https://app.goodleads.club` (the document declares no server; this is the origin it was published from)
- URL: `https://app.goodleads.club/api/v1/gm/experiment/{experiment_id}/revert`
- Auth: API key in header `X-API-Key`

Manually revert all vendor_config rows ever written by this experiment.

Idempotent — running twice only flips rows that are still active.
Used when post-hoc evidence shows a shipped change was wrong; the
cron-driven verify_recent_shipments path also calls the underlying
helper automatically when production metrics drop.

## Path parameters

- `experiment_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/goodleads/apis/formation-gtm-api.md) · [All operations](https://skmtc.dev/goodleads/apis/formation-gtm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goodleads/apis/formation-gtm-api/revisions/2068d13a82cf?raw)
