---
title: "Changes to Discard a draft"
method: DELETE
path: "/agent/{id}/drafts/{draftId}"
---

# Changes to Discard a draft

`DELETE /agent/{id}/drafts/{draftId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 54 revisions.

- **2026-07-23** `a9c928635312`: 1 breaking, 2 info
- **2026-07-17** `4f549f4b38c5`: 1 info
- **2026-07-17** `f6ed52db5f7c`: 1 info
- **2026-05-26** `5a6b4e19f353`: 1 warning, 2 info
- **2026-04-20** `801f1d220d57`: 1 info

## Changes

- **2026-07-23** `a9c928635312`: 1 breaking, 2 info
  - added the pattern `^[a-f\d]{24}$` to the `path` request parameter `id`
  - endpoint deprecated
  - added the non-success response with the status `409`
- **2026-07-17** `4f549f4b38c5`: 1 info
  - endpoint reactivated
- **2026-07-17** `f6ed52db5f7c`: 1 info
  - endpoint deprecated
- **2026-05-26** `5a6b4e19f353`: 1 warning, 2 info
  - removed the optional property `data` from the response with the `403` status
  - added the non-success response with the status `404`
  - added the optional property `errors` to the response with the `403` status
- **2026-04-20** `801f1d220d57`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/smallest-inc/apis/agent-management-api/docs/agent/:id/drafts/:draftId/delete.md) - [API](https://skmtc.dev/smallest-inc/apis/agent-management-api.md) - [Page](https://skmtc.dev/smallest-inc/apis/agent-management-api/changes/agent/:id/drafts/:draftId/delete)
