---
title: "Deletes a Draft"
method: DELETE
path: "/drafts/{id}"
tags: ["Draft"]
---

# Deletes a Draft

`DELETE /drafts/{id}`

This endpoint allows to delete a draft change:
 * if the draft has the status `add`, then it will be removed and the redirection rule will not be added when publishing the ruleset
 * if the draft has the status `update`, then it will be removed and the associated redirection rule will not be updated when publishing the ruleset
 * if the draft has the status `delete`, then it will be removed and the associated redirection rule will not be deleted when publishing the ruleset

💡 Unlike the redirection rules of your ruleset, draft changes can not be recovered once they have been deleted.

## Path parameters

- `id` string, required

## Response `204`

Draft resource deleted

## Other responses

- `403` — Forbidden
- `404` — Not found

---

[API](https://skmtc.net/redirection/apis/redirection-io.md) · [All operations](https://skmtc.net/redirection/apis/redirection-io/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/redirection/redirection-io/revisions/50d19e1f364a/schema)
