---
title: "Deactivate a prompt"
method: DELETE
path: "/prompts/{promptGroupId}"
tags: ["prompts"]
---

# Deactivate a prompt

`DELETE /prompts/{promptGroupId}`

## Request

- Base URL: `https://shruwd.io/api/v1`
- URL: `https://shruwd.io/api/v1/prompts/{promptGroupId}`
- Auth: HTTP bearer

Deactivates. Never deletes; the history it produced stays interpretable.

## Response `200`

Deactivated.

- object
  - `promptGroupId` string, required
  - `active` false, required

## Other responses

- `404`: `not_found`: no such resource in this workspace.
- `default`: Every failure has this body.

---

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