---
title: "POST /api/styles/{id}/style-documents/bulk-delete"
method: POST
path: "/api/styles/{id}/style-documents/bulk-delete"
tags: ["Styles/Documents"]
---

# POST /api/styles/{id}/style-documents/bulk-delete

`POST /api/styles/{id}/style-documents/bulk-delete`

Permanently deletes multiple documents attached to the given style in a single request. All-or-nothing: if the style is not visible to the caller's company, or any id is unknown / belongs to a different style, the whole request is rejected with a 404 (details.styleDocumentIds lists the offending ids where relevant) and no documents are deleted.

## Path parameters

- `id` string, required

## Request body

- object
  - `ids` string[], required

## Response `204`

No content

## Other responses

- `400` — Default Response
- `401` — Default Response
- `404` — Default Response

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
