v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.BillingService

SetOrganizationCreditGrant

Sets the contracted credit grant for an organization.

This is an admin-only operation for setting the total credit budget allocated to an enterprise organization under their contract.

Examples

  • Set credit grant:

    organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
    creditGrant: "10000"
    

Authorization

Requires change_billing_realm account permission.

post/gitpod.v1.BillingService/SetOrganizationCreditGrant

Request body

creditGrantstring required

credit_grant is the contracted credit grant in whole credits. Must be >= 0.

organizationIdstring uuid required

Response

Success

GitpodV1SetOrganizationCreditGrantResponse required