---
title: "Discard a comment draft"
method: DELETE
path: "/v1/comments/drafts/{id}"
tags: ["Comments"]
---

# Discard a comment draft

`DELETE /v1/comments/drafts/{id}`

## Request

- Base URL: `https://api.taplio.com`
- URL: `https://api.taplio.com/v1/comments/drafts/{id}`
- Auth: HTTP bearer

Discards a draft that has not been committed. Once it leaves `draft` the request is refused with `409 comment_already_committed`; a committed comment cannot be called back this way.

## Path parameters

- `id` string, required

## Response `204`

Comment draft discarded.

## Other responses

- `400`: Validation failed.
- `401`: Missing or invalid API key.
- `402`: Subscription payment failed.
- `403`: Subscription does not allow this request.
- `404`: Resource not found.
- `409`: Resource state precludes this request.
- `422`: Request semantically rejected.
- `429`: Rate limit exceeded.
- `500`: Internal server error.
- `503`: Upstream unavailable.

---

[API](https://skmtc.dev/taplio/apis/taplio-rest-api.md) · [All operations](https://skmtc.dev/taplio/apis/taplio-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taplio/apis/taplio-rest-api/revisions/961302019f3f?raw)
