v50

latestSwagger 2.0raw.githubusercontent.com2026-08-07307239824.1 KB
System Admin

Apply the default storage quota to every existing workspace

Reads the current value of tenant.default_storage_quota_gb (3-tier resolver: DB > ENV > default) and writes that many GiB into storage_quota for every row in tenants. Bypasses the per-workspace PUT whitelist, which forbids storage_quota edits by Owners. SystemAdmin only. Idempotent — running twice with the same setting is a no-op.

post/system/admin/tenants/apply-default-storage-quota

Response

{ affected: int64, quota_bytes: int64 }

object required