> This page is optimized for agents. Use the linked Markdown pages and llms.txt indexes for related API content.

# Delete Uploaded File

> Delete a previously uploaded file.
>
> Removes the stored file for the given `reducto://` file ID. Deletion is
> immediate and permanent, and returns 404 if the file does not exist or was
> not uploaded by your organization. Jobs that already ran against the file
> are unaffected; delete those separately with `DELETE /job/{job_id}`.

- Product: Reducto API
- Section: Upload
- Snapshot: Current
- Method: `DELETE`
- Path: `/upload/{file_id}`

## Path parameters

### `file_id`

Type: `string`  
Required: yes  

## Execute with cURL

```bash
curl -X DELETE "https://platform.reducto.ai/upload/$FILE_ID" \
  -H "Authorization: Bearer $REDUCTO_API_KEY"
```

## Responses

### Response `200`

Category: success  

Successful Response

#### `application/json`

##### Generated example

```json
{
  "file_id": "file_id"
}
```

##### Schema

###### DeleteUploadResponse

Type: `DeleteUploadResponse`  

###### `file_id`

Type: `string`  
Required: yes  

### Response `422`

Category: client-error  

Validation Error

#### `application/json`

##### Generated example

```json
{
  "detail": [
    {
      "loc": [
        "loc"
      ],
      "msg": "msg",
      "type": "type",
      "ctx": {}
    }
  ]
}
```

##### Schema

###### HTTPValidationError

Type: `HTTPValidationError`  

###### `detail`

Type: `ValidationError[]`  
Required: no  

###### ValidationError

Type: `ValidationError`  

###### `loc`

Type: `string | number[]`  
Required: yes  

###### string | number

Type: `string | number`  

###### string

Type: `string`  

###### number

Type: `number`  

###### `msg`

Type: `string`  
Required: yes  

###### `type`

Type: `string`  
Required: yes  

###### `input`

Type: `unknown`  
Required: no  

###### `ctx`

Type: `object`  
Required: no  

## Related representations

- [Human documentation](/api-reference/api/sections/upload/operations/delete-upload/)
- [cURL Markdown](https://docs.reducto.ai/api-reference/api/curl/sections/upload/operations/delete-upload.md)
