deleteComponent
Delete component
Details
- Method:
DELETE - Path:
/rest/api/3/component/{id} - Operation ID:
deleteComponent
Parameters
{
"id": {
"description": "The ID of the component.",
"required": true,
"location": "path",
"type": "string"
},
"moveIssuesTo": {
"description": "The ID of the component to replace the deleted component. If this value is null no replacement is made.",
"required": false,
"location": "query",
"type": "string"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('deleteComponent', {
# Add required parameters here
})