ordercloud.spendingAccounts.delete
Permanently removes a buyer's spending account by buyer ID and spending account ID, supporting cleanup of unused or obsolete accounts in OrderCloud admin workflows.
Instructions
Delete a spending account
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"buyerId": "<buyerId>",
"spendingAccountId": "<spendingAccountId>"
},
"name": "ordercloud.spendingAccounts.delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyerId | Yes | The buyer ID | |
| spendingAccountId | Yes | The spending account ID to delete |