updateCustomContent
Update custom content
Details
- Method:
PUT - Path:
/custom-content/{id} - Operation ID:
updateCustomContent
Parameters
{
"id": {
"description": "The ID of the custom content to be updated. If you don't know the custom content ID, use Get Custom Content by Type and filter the results.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
}
}Response Schema
{
"allOf": [
{
"$ref": "#/components/schemas/CustomContentSingle"
},
{
"type": "object",
"properties": {
"_links": {
"type": "object",
"properties": {
"base": {
"type": "string",
"description": "Base url of the Confluence site."
}
}
}
}
}
]
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('confluence')
# Call this tool
result = await agent.call_tool('updateCustomContent', {
# Add required parameters here
})