Billing accounts
Link a billing account
Needs billing.associations.create on the account too. The account must be in the Workspace Organization and not CLOSED; a PENDING account may be linked and enables billing once it is ACTIVE.
Bearer token for the authenticated caller.
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
Required string length: 1 - 64
Example: "create-prod-2026-05-07"
Required string length: 1 - 53
Body
Pattern: ^billingAccounts\/bac_[A-Za-z0-9]+$
Example: "billingAccounts/bac_4kQ9mXr2Tz7Lw1"
Response
WorkspaceBillingInfo
Example: "workspaces/ws_j572abc/billingInfo"
Required string length: 2 - 53
Pattern: ^billingAccounts\/bac_[A-Za-z0-9]+$
Example: "billingAccounts/bac_4kQ9mXr2Tz7Lw1"