Memos
Attachment Service

Batch Delete Attachments

BatchDeleteAttachments deletes multiple attachments in one request.

POST
/api/v1/attachments:batchDelete

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

names*array<string>

Response Body

application/json

curl -X POST "https://example.com/api/v1/attachments:batchDelete" \  -H "Content-Type: application/json" \  -d '{    "names": [      "string"    ]  }'
Empty
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings