Open Context Protocol is live! 🚀 Read the launch post

deleteBlogPost

Delete blog post

Details

  • Method: DELETE
  • Path: /blogposts/{id}
  • Operation ID: deleteBlogPost

Parameters

{
  "id": {
    "description": "The ID of the blog post to be deleted.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  },
  "purge": {
    "description": "If attempting to purge the blog post.",
    "required": false,
    "location": "query",
    "type": "boolean"
  },
  "draft": {
    "description": "If attempting to delete a blog post that is a draft.",
    "required": false,
    "location": "query",
    "type": "boolean"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('confluence')

# Call this tool
result = await agent.call_tool('deleteBlogPost', {
    # Add required parameters here
})