Skip to content

SetTeamBudgetResponseBody ​

OK

Example Usage ​

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

let value: SetTeamBudgetResponseBody = {
  id: "<id>",
  scope: "team_default",
  scopeId: "<id>",
  scopeOrgId: "<id>",
  owner: "cluster",
  period: "monthly",
  limit: 227.35,
  thresholds: [
    {
      pct: 202943,
      action: "block",
    },
  ],
  alertWebhookUrl: "https://upright-license.biz/",
  spend: {
    window: "<value>",
    costSpent: 7452.85,
    limit: 2954.49,
    pct: 654248,
    status: "blocked",
  },
};

Fields ​

FieldTypeRequiredDescription
idstring✔️N/A
scopeoperations.SetTeamBudgetScope✔️N/A
scopeIdstring✔️N/A
scopeOrgIdstring✔️N/A
owneroperations.SetTeamBudgetBudgetsOwner✔️N/A
periodoperations.SetTeamBudgetBudgetsPeriod✔️N/A
limitnumber✔️N/A
thresholdsoperations.SetTeamBudgetBudgetsThresholds[]✔️N/A
alertWebhookUrlstring✔️N/A
spendoperations.SetTeamBudgetSpend✔️N/A