---
title: "3. Delete an Upload Slot"
method: POST
path: "/uploadmanager.deleteslot/{slot_id}"
tags: ["Attachments", "Product Image"]
---

# 3. Delete an Upload Slot

`POST /uploadmanager.deleteslot/{slot_id}`

## Request

- Base URL: `https://companynode.pricefx.com/pricefx/companypartition`
- URL: `https://companynode.pricefx.com/pricefx/companypartition/uploadmanager.deleteslot/{slot_id}`
- Auth: one of:
  - HTTP basic
  - API key in header `X-PriceFx-jwt`
- TypeScript: <https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/docs/uploadmanager.deleteslot/:slot_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Deletes an upload slot and returns upload status information. Same behavior and response shape as GET `/uploadmanager.deleteslot/{slot_id}`.

<!-- theme: info-->
>**Information**
>
>To upload a file you need to perform the following actions:
>1. Create an Upload Slot
>2. Upload a File
>3. Delete an Upload Slot

## Response `200`

Slot deleted.

- object
  - `response` object
    - `data` object[]
      - `version` integer
      - `typedId` string
      - `contentLength` integer
      - `totalBytesRead` integer
      - `status` string
      - `data` string, nullable
      - `owner` string, nullable
      - `percentage` integer
      - `createDate` string
      - `createdBy` integer
      - `lastUpdateDate` string
      - `lastUpdateBy` integer
    - `status` integer

---

[API](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api.md) - [All operations](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/revisions/23d941b00ac0?raw)
