SetUserBudgetRequestBody
Example Usage
typescript
import { SetUserBudgetRequestBody } from "@meetkai/mka1/models/operations";
let value: SetUserBudgetRequestBody = {
period: "weekly",
limit: 9574.75,
thresholds: [
{
pct: 814516,
action: "block",
},
],
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
owner | operations.SetUserBudgetOwner | ➖ | cluster = operator ceiling (org-admin read-only); org = self-budget |
period | operations.SetUserBudgetPeriod | ✔️ | N/A |
limit | number | ✔️ | Spend limit in major currency units |
thresholds | operations.SetUserBudgetThresholds[] | ✔️ | N/A |
webhookUrl | string | ➖ | N/A |
webhookSecret | string | ➖ | N/A |