---
title: "Product / Content Bulk Delete API"
method: POST
path: "/v1/products/_delete"
tags: ["Product / Content APIs"]
---

# Product / Content Bulk Delete API

`POST /v1/products/_delete`

This API endpoint allows you to delete multiple products by providing their product_ids.

To delete multiple products, make a POST request to the following URL:

```
POST /v1/products/_delete
```

The request body should contain a JSON object with an array of product_ids:

```json
{
  "data": {
    "product_ids": [
      "product-1",
      "product-2",
      // ... more product_ids to delete
    ]
  }
}
```

## Response Format

The API will return a JSON object with a `message` and an array of `data`
containing a `task_id` that can be used to get the status of the bulk deletion process.

#### Example Successful Response

```json
{
  "message": "deleted",
  "data": {
    "task_id": "{task_id}"
  }
}
```

To check the exact response body of this task_id, make a GET request to the following endpoint:

```
GET /v1/products/_status/{task_id}
```

Replace `{task_id}` with the task_id returned from the response.

## Request body

- ProductBulkDeleteIn
  - `data` ProductIdList, required
    - `product_ids` string[], required

## Response `200`

Successful Response

- DeleteResponse
  - `message` string, required — Human-readable message
  - `data` TaskId, required
    - `task_id` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/miso/apis/miso-api.md) · [All operations](https://skmtc.dev/miso/apis/miso-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miso/miso-api/revisions/f2fa5ba6025f/schema)
