Skip to main content
DELETE
/
accounting
/
{resource}
/
{id}
Delete a resource
curl --request DELETE \
  --url https://api.routemcp.io/api/v1/accounting/{resource}/{id} \
  --header 'Authorization: <api-key>' \
  --header 'X-End-User-Id: <x-end-user-id>'
{
  "success": false,
  "statusCode": 400,
  "message": "Validation Errors.",
  "errors": {
    "email": "email should not be empty"
  },
  "timestamp": "2026-02-06T12:00:00.000Z",
  "path": "/api/v1/example"
}

Documentation Index

Fetch the complete documentation index at: https://docs.routemcp.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)

Headers

X-End-User-Id
string
required

Path Parameters

resource
enum<string>
required
Available options:
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
id
string
required

Provider-native ID of the record

Example:

"12345"

Query Parameters

provider
string
required
Example:

"quickbooks-online"

Response

Resource deleted successfully