Skip to main content
PUT
/
api
/
budget-envelopes
/
{id}
Update a budget envelope
curl --request PUT \
  --url https://app.solya.app/api/budget-envelopes/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 600000,
  "currency": "EUR"
}
'
{
  "amount": 600000,
  "createdAt": "2026-01-10T08:00:00.000Z",
  "currency": "EUR",
  "id": "envelope-uuid-123",
  "periodId": "period-uuid-123",
  "scope": "TOTAL",
  "scopeValue": null,
  "updatedAt": "2026-06-05T12:00:00.000Z"
}

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Path Parameters

id
string
required

Unique identifier of the budget envelope (UUID)

Minimum string length: 1

Body

application/json
amount
currency
string

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true