v18

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

SetBillingRealm

Sets the billing realm for an organization.

Use this method to:

  • Change organization's billing realm between sandbox and production
  • Configure billing environment for the organization
  • Requires Account permissions to perform the operation

Examples

  • Set billing realm:

    Changes organization billing realm to production.

    organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
    realm: BILLING_REALM_PRODUCTION
    
post/gitpod.v1.BillingService/SetBillingRealm

Request body

organizationIdstring uuid required

organization_id is the ID of the organization to update

realm'BILLING_REALM_UNSPECIFIED' | 'BILLING_REALM_SANDBOX' | 'BILLING_REALM_PRODUCTION' required

Response

Success

GitpodV1SetBillingRealmResponse required