Billing

Hard caps on billed usage, e.g. stop builds after N build minutes this period (dashboard session only)

put/billing/caps

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/billing/caps
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

orgIdstring

Organization id (required when you belong to several)

lang'en' | 'sv'

Language of labels and Stripe pages (default en)

Request body

buildMinutesinteger nullable required

stop new builds once this many build minutes were used in the period (included + overage); null removes the cap

Response

Caps

buildMinutesinteger nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.