---
title: "Permanently delete many prints in a single request."
method: POST
path: "/api/Prints/bulk-delete"
tags: ["Prints"]
---

# Permanently delete many prints in a single request.

`POST /api/Prints/bulk-delete`

## Request

- Base URL: `https://api.3dprintlog.com`
- URL: `https://api.3dprintlog.com/api/Prints/bulk-delete`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://3dprintlog.auth0.com/authorize`, token URL `https://3dprintlog.auth0.com/oauth/token`)
  - API key in header `X-Api-Key`
  - API key in query parameter `api_key`

Ids that no longer exist are reported as succeeded - the goal state is that the
print is gone. Only the print's creator may delete it.

## Request body

- PrintLogApiModelsDTOsPrintBulkDeletePrintsDto: Permanently deletes many prints in one request, along with their comments, images, attachments, filament usage, and notifications.
  - `printIds` integer[], nullable: The prints to delete. Must be non-empty, distinct, and at most 200 entries.

## Response `200`

The per-id outcome of the operation.

- PrintLogApiModelsDTOsPrintBulkPrintResultDto: The per-id outcome of a bulk operation. A bulk request is a 200 even when some ids could not be acted on; the body is what says which.
  - `succeeded` integer[], nullable
  - `failed` PrintLogApiModelsDTOsPrintBulkPrintFailureDto[], nullable
    - `id` integer
    - `reason` string, nullable: Either "NotFound" or "Forbidden".

## Other responses

- `400`: The request as a whole was invalid. Nothing was deleted.
- `401`: Returned when no user is authenticated.
- `403`: Forbidden

---

[API](https://skmtc.dev/3dprintlog/apis/3d-print-log-api.md) · [All operations](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/llms.txt) · [OpenAPI document](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/revisions/dfc3a4df4e38?raw)
