DELETE
Delete an invoicing forecast
Scope:
accounting:cashflow.writehttps://api.holded.com/api/v2/treasury/cashflow/invoicing-forecasts/{forecastId}Permanently deletes an invoicing forecast. This action cannot be undone. Use when the user wants to remove a cashflow forecast entry that is no longer needed. Distinct from the Edit endpoint: this removes the forecast entirely rather than updating it.
Parameters
Path parameters
forecastId
stringrequiredInvoicing forecast identifier (24-character hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/treasury/cashflow/invoicing-forecasts/507f1f77bcf86cd799439011"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())Responses
Success responses
204Invoicing forecast deletedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Invoicing forecast not foundapplication/json429Rate limit exceededapplication/json