---
title: "Bulk delete posts"
method: DELETE
path: "/posts/bulk"
tags: ["Posts"]
---

# Bulk delete posts

`DELETE /posts/bulk`

## Request

- Base URL: `https://api.savanto.ai`
- URL: `https://api.savanto.ai/posts/bulk`
- Auth: HTTP bearer

Delete multiple posts by their external IDs.

## Request body

- object
  - `ids` union[], required
    - union
      - string
      - number

## Response `200`

Bulk delete completed

- BulkOperation
  - `object` 'bulk_operation', required
  - `requestId` string, required
  - `data` object, required
    - `processed` number, required
    - `succeeded` string[], required
    - `failed` object[], required
      - `id` string
      - `error` string, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `413`: Payload too large
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/savanto/apis/savanto-api.md) · [All operations](https://skmtc.dev/savanto/apis/savanto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/savanto/apis/savanto-api/revisions/82437327a878?raw)
