Open Context Protocol is live! 🚀 Read the launch post

deleteCustomContent

Delete custom content

Details

  • Method: DELETE
  • Path: /custom-content/{id}
  • Operation ID: deleteCustomContent

Parameters

{
  "id": {
    "description": "The ID of the custom content to be deleted.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  },
  "purge": {
    "description": "If attempting to purge the custom content.",
    "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('deleteCustomContent', {
    # Add required parameters here
})