---
title: "Delete Prompt Version"
method: DELETE
path: "/console/v1/prompts/{id}/versions/{versionId}"
tags: ["Prompts"]
---

# Delete Prompt Version

`DELETE /console/v1/prompts/{id}/versions/{versionId}`

## Request

- Base URL: `https://statsigapi.net`
- URL: `https://statsigapi.net/console/v1/prompts/{id}/versions/{versionId}`
- Auth: API key in header `STATSIG-API-KEY`

Delete a version that is not Live and not referenced by an override.

## Path parameters

- `versionId` string, required
- `id` string, required

## Response `200`

Delete Prompt Version Response

- object
  - `message` string

## Other responses

- `404`: Not Found. The requested resource could not be found.

## Changes

- **2026-10-21** `df19329dc8c0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/statsig/apis/console-api/changes/console/v1/prompts/:id/versions/:versionId/delete.md)

---

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