---
title: "Discard Editor Draft"
method: DELETE
path: "/v3/agent-editor/{agent_id}/draft"
tags: ["agent-editor"]
---

# Discard Editor Draft

`DELETE /v3/agent-editor/{agent_id}/draft`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v3/agent-editor/{agent_id}/draft`
- Auth: HTTP bearer

Delete the AI editor draft row for a published agent.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `mentium-workspace-id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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