Delete budgets

Delete the budgets matching the filters and selection, along with all their budgeted amounts. Provide ids, or explicitly set include to false to delete every budget matching the filters (and every budget outright when no filters are given); an empty body is rejected.

Required permission: Full Write Accounting

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Return budgets whose name contains the given text.

string

Return budgets whose description contains the given text.

double

Return budgets starting in or after this year.

double

Return budgets starting in or before this year.

string

Comma-delimited list of status ids or codes (budget_status_draft, budget_status_published).

Body Params

The selection criteria

ids
array of doubles | null

The ids the operation applies to: an include list by default, or an exclude list when include is false. For deletes, required unless include is false.

ids
boolean | null

Whether ids is an include list (true, default) or an exclude list (false). Setting include to false with no ids applies the operation to every record matching the query filters.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json