---
updatedAt: 2025-04-15T11:46:44.000Z
agentTools:
  projectIndex: https://docs.umbrellacost.io/llms.txt
---

# Edit Budget

The call is used to update a budget

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Advanced services",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.umbrellacost.io"
    }
  ],
  "x-readme": {
    "explorer-enabled": false
  },
  "paths": {
    "/api/v2/budgets": {
      "put": {
        "description": "The call is used to update a budget",
        "summary": "Edit Budget",
        "tags": [
          "Budgets"
        ],
        "operationId": "put_apiv2budgets?budgetId={budgetId}",
        "responses": {
          "200": {
            "description": ""
          }
        },
        "parameters": [
          {
            "name": "budgetId",
            "in": "query",
            "required": true,
            "description": "The budget Id to edit\t",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "apikey",
            "in": "header",
            "required": true,
            "description": "",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "description": "",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "x-readme": {
          "code-samples": [
            {
              "code": "curl --location --request PUT 'https://api.umbrellacost.io/api/v2/budgets?budgetId={{budgetId}}' \\\n--header 'apikey: {{account-api-key}}' \\\n--header 'Authorization: {{bearer-token}}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n  \"budgetName\": \"test plan type\",\n  \"budgetAmount\": 999999,\n  \"budgetAmounts\": [\n    {\n      \"amount\": 76923,\n      \"date\": \"2023-12\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-1\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-2\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-3\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-4\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-5\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-6\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-7\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-8\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-9\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-10\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-11\"\n    },\n    {\n      \"amount\": 76923,\n      \"date\": \"2024-12\"\n    }\n  ],\n  \"endDate\": \"2024-12-26 00:00:00\",\n  \"startDate\": \"2023-12-26 00:00:00\",\n  \"isRelativeAlerts\": true,\n  \"budgetAlerts\": [\n    {\n      \"whenToAlert\": [\n        \"forecasted\"\n      ],\n      \"alertGranularity\": [\n        \"monthly\"\n      ],\n      \"alertPercent\": \"88\",\n      \"alertEmail\": \"demo@umbrellacost.com\"\n    }\n  ],\n  \"costType\": \"net_amortized\",\n  \"budgetId\": \"{budgetId}\",\n  \"description\": \"\",\n  \"isFlexible\": 1,\n  \"excludeFilters\": {},\n  \"includeFilters\": {},\n  \"budgetType\": \"expiring\",\n  \"budgetAmountType\": \"planned\",\n  \"period\": 0\n}'",
              "language": "shell",
              "name": ""
            }
          ],
          "samples-languages": [
            "shell"
          ]
        }
      }
    }
  }
}
```