setQuota
Creates or updates a quota enforcement rule (idempotent upsert keyed by org/app/tier + metric + period) and returns it. Scope is inferred from the input ids: an app-scoped rule requires the 'manage_quotas' app permission, an org-scoped rule requires the 'manage_quotas' org permission, and a global rule (no org/app/tier) requires super admin. Changes which limit effectiveQuota resolves for the metric; does not retroactively alter past usage.
setQuota(
input: SetQuotaInput!
): ServiceQuota!
Arguments
setQuota.input ● SetQuotaInput! non-null input
The quota rule to create or update: scope ids (orgId/appId/tierId), metric, limitValue, and optional period/actionOnExceed.