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

# Delete Project

> Delete a specific project

> [!WARNING]
>
> This action cannot be undone. All project data including output files, scripts, and processing results will be permanently deleted.

```bash cURL theme={null}
curl -X DELETE https://app.dubformer.ai/api/v1/projects/{project_id} \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```python Python theme={null}
import requests

url = 'https://app.dubformer.ai/api/v1/projects/{project_id}'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
}

response = requests.delete(url, headers=headers)
print(response.json())
```

```javascript JavaScript theme={null}
const url = 'https://app.dubformer.ai/api/v1/projects/{project_id}';
const headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
};

fetch(url, {
    method: 'DELETE',
    headers,
})
.then(response => response.json())
.then(data => console.log(data));
```

## Path Parameters

**project\_id** `string` *required*

The unique identifier of the project to delete.

## Response

**success** `boolean`

Indicates whether the deletion was successful.

```json Success Response theme={null}
{
  "success": true
}
```

## Error Responses

```json Project Not Found theme={null}
{
  "error": "NotFoundError",
  "message": "Project not found"
}
```

```json Cannot Delete In Progress Project theme={null}
{
  "error": "ValidationError",
  "message": "Cannot delete project while processing is in progress"
}
```

## Important Notes

* Projects that are currently processing (`in_progress` status) cannot be deleted
* Deleted projects cannot be recovered
* This operation does not refund any minutes charged for the project
* All download URLs associated with the project will become invalid


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