Delete an attachment

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/hivepress/doc/rest-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"HivePress REST API MCP server": {
  "url": "https://bump.sh/hivepress/doc/rest-api/mcp"
}
Close
DELETE /attachments/{attachment_id}

Path parameters

  • attachment_id integer Required

    Attachment ID.

Responses

  • 204
DELETE /attachments/{attachment_id}
curl \
 --request DELETE '/wp-json/hivepress/v1/attachments/{attachment_id}'