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

# Delete a take by ID

> Delete a take from an owned editable song.

This route can delete active takes. Use [editor discard](/dev/endpoints/editing/delete-take) to reject active-take deletion.

## Headers and parameters

<ParamField path="id" type="string" required>
  Resource ID.
</ParamField>

<ParamField header="x-session-user-address" type="string" required>
  Selected account address. Required for owner-scoped reads and writes. It identifies the account; your product must authenticate its own users.
</ParamField>

## Response (200)

Success.

<ResponseField name="success" type="boolean" required />

<ResponseField name="id" type="string" required />

## Errors

Failed JSON responses contain an `error` string. Check the HTTP status before reading a successful result. See [job handling](/dev/guides/jobs) for interrupted or uncertain submissions.

| Status | Meaning |
| - | - |
| `400` | Invalid request. |
| `403` | Account does not match resource. |
| `404` | Resource not found. |
| `409` | Resource conflict; reload state or open an editable version. |
| `500` | Request failed. |

<RequestExample>
  ```bash cURL theme={null}
  curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/takes/$(jq -nr --arg v "$ID" '$v|@uri')" \
    -H "x-session-user-address: $USER_ADDRESS"
  ```
</RequestExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.