---
title: "Mass delete catalog rules"
method: POST
path: "/marketing/catalog-rules/mass-delete"
tags: ["Admin Marketing: Promotions"]
---

# Mass delete catalog rules

`POST /marketing/catalog-rules/mass-delete`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/marketing/catalog-rules/mass-delete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/marketing/catalog-rules/mass-delete/post.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a batch of catalog rules. Non-existent IDs are silently skipped.

## Request body

- object
  - `indices` integer[], required

## Response `200`

Catalog rules deleted.

## Other responses

- `400`: Invalid input
- `422`: Empty indices.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
