# Budget ändern

`PUT https://{tenant}.stamp.eu/rest/controlling/budgets/{budget}`

## Pfadparameter

| Name | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `budget` | string | ja | The budget ID |

## Request-Body

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `scope` | `company`, `department` | ja |
| `department_id` | string \| null | nein |
| `effective_from` | string | ja |
| `amount_cents` | integer | ja |
| `currency` | string | nein |

## Antworten

### 200: `ControllingBudgetResource`

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `data` | object | ja |
| `data.id` | string | ja |
| `data.scope` | string | ja |
| `data.department_id` | string \| null | ja |
| `data.department_name` | string \| null | ja |
| `data.effective_from` | string | ja |
| `data.amount_cents` | integer | ja |
| `data.currency` | string | ja |

### 401: Unauthenticated

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 404: Not found

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 422: Validation error

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Errors overview. |
| `errors` | object | ja | A detailed description of each field that failed validation. |
