deleteInvoiceitemsInvoiceitem
Delete an invoice item
Details
- Method:
DELETE - Path:
/v1/invoiceitems/{invoiceitem} - Operation ID:
DeleteInvoiceitemsInvoiceitem
Parameters
{
"invoiceitem": {
"description": "",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"description": "",
"properties": {
"deleted": {
"description": "Always true for a deleted object",
"enum": [
true
],
"type": "boolean"
},
"id": {
"description": "Unique identifier for the object.",
"maxLength": 5000,
"type": "string"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value.",
"enum": [
"invoiceitem"
],
"type": "string"
}
},
"required": [
"deleted",
"id",
"object"
],
"title": "DeletedInvoiceItem",
"type": "object",
"x-expandableFields": [],
"x-resourceId": "deleted_invoiceitem"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('stripe')
# Call this tool
result = await agent.call_tool('deleteInvoiceitemsInvoiceitem', {
# Add required parameters here
})