updateBudget(budgetId: ID!, input: UpdateBudgetInput!): Budget!
Arguments
Input fields
input
Response
Returns Budget!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation UpdateBudget($budgetId: ID!, $input: UpdateBudgetInput!) {
updateBudget(budgetId: $budgetId, input: $input) {
id
createdAt
updatedAt
monthlyLimitCredits
monthlyLimitUsd
}
}{
"budgetId": "00000000-0000-4000-8000-000000000001",
"input": {
"monthlyLimitCredits": 100
}
}