Operator

Set (fully replace) one plan's limits for every organization on it; a null field means "the default applies". An organization's own override still wins; nothing that exists is resized

put/operator/plan-limits/{planId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/plan-limits/{planId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

planId'free' | 'pro' | 'business' required

Request body

projectsinteger nullable required
databasesinteger nullable required
seatsinteger nullable required
cpusnumber nullable required
memoryMbinteger nullable required
totalCpusnumber nullable required
totalMemoryMbinteger nullable required
buildMinutesinteger nullable required
bandwidthGbinteger nullable required
storageGbinteger nullable required

persistent volume storage of the whole organization, GB (migration 147)

aiCreditsinteger nullable
deployedSitesMaxinteger nullable
trialDaysinteger nullable
requestsPerMonthinteger nullable
cpuHoursPerMonthnumber nullable
previewsPerTeaminteger nullable
previewsPerProjectinteger nullable
agentsinteger nullable
builderSessionsinteger nullable
importsOpeninteger nullable
buildConcurrencyinteger nullable
buildTimeoutMinutesinteger nullable
pidsPerContainerinteger nullable
cpuSharesinteger nullable
oomScoreAdjinteger nullable
diskGbPerProjectnumber nullable
uploadMbinteger nullable
crashLoopRestartsPerHourinteger nullable
allowedClassesstring[] nullable

site classes the plan may create, deploy, start, preview and publish; null = the next layer decides

rateLimitProfile'off' | 'default' | 'strict' | 'null' nullable
notestring nullable required
reasonstring required

required: shown in the audit log verbatim

requestIdstring

idempotency key: a retried request with the same id changes nothing and writes no second audit entry

Response

Saved

status'ok' required
replayboolean required

Changes

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