1. Attachments
AboAI-Doc
English
  • 中文
  • English
  • Home Page
  • AboAi-API
    • Model
      • Native OpenAI Format
      • Native Gemini Format
    • Chat
      • Native OpenAI Format
      • Native Gemini Format
      • Native Claude Format
      • Responses Request (openai)
    • Audio
      • Native OpenAI Format TTS
      • Native Gemini Format TTS
    • Images
      • Native OpenAI Format Image Generation
      • Native Gemini Format Image Generation
      • Native OpenAI Format Image Editing (JSON)
      • Native OpenAI Format Image Editing (Multipart)
    • Video
      • Seedance2.0 format
        • Create Video Generation Task
        • Query Video Generation Task Status
    • Vector
      • Embeddings
        • Create Embedding
    • Translation
      • Speech Translation
    • Knowledge
      • Knowledge Management
        • List Knowledge Bases
        • Create Knowledge Base
        • Update Knowledge Base
        • Get Knowledge Base Details
        • Delete Knowledge Base
      • Attachments
        • List Attachments
          GET
        • Upload Attachment
          POST
        • Get Attachment Status
          GET
        • Get Attachment Details
          GET
        • Delete Attachment
          DELETE
      • Search & Chat
        • Knowledge Search
        • RAG Chat
  • AI application
    • AboAI API Integration with Claude Code
    • AboAI API Integration with Cursor
    • AboAI API Integration with Codex-cli
    • AboAI API Integration with Codex Desktop
    • AboAI API Integration with Hermes Agent
  1. Attachments

Delete Attachment

DELETE
/v1/knowledge/attachments/{docId}
Delete an attachment and its related data (cascade: vector data of this docId → chunks → attachment record).

Request

Path Params

Header Params

Responses

🟢200Success
application/json
Success
Bodyapplication/json

🟠400Bad Request
🟠401Forbidden
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://vipapi.aboai.ai/v1/knowledge/attachments/' \
--header 'Authorization: Bearer {{apiKey}}'
Response Response Example
200 - Example 1
{
    "code": 0,
    "msg": "string",
    "data": null
}
Modified at 2026-11-04 09:19:19
Previous
Get Attachment Details
Next
Knowledge Search
Built with