Skip to main content

deleteQuota

Permanently deletes a quota enforcement rule by id. Returns true if a rule was removed, or false if no quota with that id exists. Destructive and not reversible: once removed, the metric falls back to the next-most-specific rule or the free-tier default. Requires the 'manage_quotas' permission on the same scope (app or org) the quota belongs to, or super admin for global quotas.

deleteQuota(
quotaId: BigInt!
idempotencyKey: String
): Boolean!

Arguments

deleteQuota.quotaId ● BigInt! non-null scalar

Id (BigInt as a decimal string) of the quota rule to delete.

deleteQuota.idempotencyKey ● String scalar

Optional idempotency key. Recommended for retries: replaying with the same key and identical arguments returns the first result instead of re-applying; the same key with different arguments returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.

Type

Boolean scalar

The Boolean scalar type represents true or false.