Skip to content

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 ​

FieldTypeRequiredDescription
owneroperations.SetUserBudgetOwner➖cluster = operator ceiling (org-admin read-only); org = self-budget
periodoperations.SetUserBudgetPeriod✔️N/A
limitnumber✔️Spend limit in major currency units
thresholdsoperations.SetUserBudgetThresholds[]✔️N/A
webhookUrlstring➖N/A
webhookSecretstring➖N/A