---
title: "Delete a mapping draft not yet finalized"
description: "Mappings API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a mapping draft not yet finalized

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="delete">DELETE</span>
<code class="cvo-op-path-code">/v1/mappings/drafts/&#123;id&#125;</code>
</div>
</div>

Deletes the draft and its sample rows. A finalized draft is the record of what a named person froze, so it stays and the request is refused. The sample files stay with your files, where other rows may hold the same file.

## Path parameters

## Status codes

| Status | Meaning |
|---|---|
| `204` | The draft was deleted. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | This company has no such draft (`unknown_mapping_draft`). |
| `409` | The draft is finalized and stays (`mapping_draft_finalized`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/mappings/delete-a-mapping-draft-not-yet-finalized/index.mdx
