gitpod.v1.BillingService

CreateTeamCreditAllocation

Creates a credit allocation (budget) for a team.

Allocations are soft budgets for reporting and alerting — not enforced at usage time. Over-allocation (sum of team budgets > org grant) is allowed.

Examples

  • Create a team allocation:

    organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
    teamId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
    creditBudget: "500"
    

Authorization

Requires billing:create permission on the organization.

post/gitpod.v1.BillingService/CreateTeamCreditAllocation

Request body

creditBudgetstring required

credit_budget is the allocated credit budget in whole credits. Must be > 0.

organizationIdstring uuid required
teamIdstring uuid required

Response

Success

Changes