---
title: "POST /api/attachments:batchDelete"
method: POST
path: "/api/attachments:batchDelete"
tags: ["AttachmentService"]
---

# POST /api/attachments:batchDelete

`POST /api/attachments:batchDelete`

## Request

- The document declares no server URL.
- Auth: none declared

BatchDeleteAttachments deletes up to 100 attachments in one atomic request. The caller must be the uploader of
 each attachment or an admin.

## Request body

- BatchDeleteAttachmentsRequest: Request message for AttachmentService.BatchDeleteAttachments.
  - `names` string[], required: Required. The names of the attachments to delete, at most 100. Duplicate names are ignored. Format: attachments/{attachment}

## Response `200`

OK

## Other responses

- `default`: Default error response

## Changes

- **2026-10-08** `1846a777b0ef`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usememos/apis/untitled-api/changes/api/attachments:batchDelete/post.md)

---

[API](https://skmtc.dev/usememos/apis/untitled-api.md) - [All operations](https://skmtc.dev/usememos/apis/untitled-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usememos/apis/untitled-api/revisions/f587355e35b4?raw)
