Delete a resource
Authorizations
Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)
Headers
Identifier of the end user whose connected provider should be queried. This is the same endUserId you supplied when creating the connect token. Required on every CRM and accounting call.
"user-001"
Path Parameters
Canonical accounting resource type to delete. Must be one of the values in the enum below. RouteMCP maps this to the equivalent provider-native object. Read-only resources (reports, bank feeds, general_ledger_transaction, address, phone_number, transaction) and certain master records (e.g. QuickBooks accounts) may return 405 Method Not Allowed.
invoice, contact, account, payment, tax_rate, journal_entry, expense, purchase_order, sales_order, credit_note, vendor_credit, company_info, item, tracking_category, accounting_period, payment_method, payment_term, address, attachment, balance_sheet, bank_feed_account, bank_feed_transaction, cash_flow_statement, employee, expense_report, general_ledger_transaction, income_statement, item_fulfillment, phone_number, project, transaction Provider-native record id. This is the id as it appears in the source system (e.g. a HubSpot contact id, a Pipedrive deal id, a QuickBooks invoice id). Use the remote_id field returned by the list endpoint.
"12345"
Query Parameters
Provider slug identifying which connected provider to target (e.g. hubspot, pipedrive, zoho-crm, quickbooks-online, xero, zoho-books). Required — single-record operations always target a specific provider.
"hubspot"
Response
Resource deleted successfully
Standard envelope returned by DELETE /accounting/{resource}/{id}. Confirms which provider-native record was removed. Not every provider supports deletion of every resource — some return 405 Method Not Allowed instead (e.g. QuickBooks accounts can only be deactivated, not deleted).