removeGadget
Remove gadget from dashboard
Details
- Method:
DELETE - Path:
/rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId} - Operation ID:
removeGadget
Parameters
{
"dashboardId": {
"description": "The ID of the dashboard.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
},
"gadgetId": {
"description": "The ID of the gadget.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
}
}Response Schema
{}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('removeGadget', {
# Add required parameters here
})