---
title: "Delete file from product"
method: DELETE
path: "/products/v1/resources/file/delete"
tags: ["Product Management API"]
---

# Delete file from product

`DELETE /products/v1/resources/file/delete`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/products/v1/resources/file/delete`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/products/v1/resources/file/delete/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a specific file resource from a product. Currently supports deletion of PDF files only. The file is identified by the product reference ID and file identifier. This operation permanently removes the file from the product and cannot be undone.

## Request body

- FileDeleteWS: Request object for deleting a file resource from a product. Currently supports deletion of PDF files only. Contains the product reference ID and file identifier.
  - `productRefId` string, required: Product reference ID from which the file should be deleted
  - `identifier` string, required: Unique identifier of the file to be deleted

## Response `204`

File deleted successfully (No Content)

## Other responses

- `400`: Bad Request - Invalid parameters
- `401`: Unauthorized - Authentication required
- `403`: Forbidden - Insufficient permissions
- `500`: Internal Server Error - Unexpected error deleting file

## Changes

- **2026-11-06** `1fc240f06971`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/products/v1/resources/file/delete/delete.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
