Skip to content

SetUserDefaultBudgetRequestBody ​

Example Usage ​

typescript
import { SetUserDefaultBudgetRequestBody } from "@meetkai/mka1/models/operations";

let value: SetUserDefaultBudgetRequestBody = {
  period: "daily",
  limit: 7170.6,
  thresholds: [
    {
      pct: 778062,
      action: "block",
    },
  ],
};

Fields ​

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