Skip to main content
Rename a quota, or change its description or default currency. Returns the quota. Pass at least one of name, description or currency_type. Sending the values the quota already has changes nothing, so the same call can be sent twice. An archived quota is refused. Restoring it takes full access to quotas: call archive_quota with archived false. Without that access, ask someone who has it. A rename reaches every statement measuring against the quota. A new currency_type only applies to a user’s first target: users already holding targets on this quota keep their currency, which update_quota_values changes per user. The quota’s frequency and type, and the currency of a quota synchronized from an integration, can only be changed in the Qobra web app: they rewrite the stored targets or relaunch the import. The call is refused when it would change the currency_type of a synchronized quota. The quota can live in the live environment or in a sandbox; the call writes to the one it lives in. Requires write permission on quotas. Every write to the live environment is recorded in the audit trail as the Qobra MCP agent; writes to a sandbox are not audited.
Example arguments

Parameters

Body

string
required
Id of the quota, from list_quotas or create_quota, a sandbox’s quota included.
string
New display name. Omit to keep the current one.
string
New free-text note on what the quota targets. Pass "" to clear it; omit to keep it.
string
New default currency of an amount quota: ‘company’, ‘user’ (each user’s payment currency) or ‘calculation’ (the user’s calculation currency). Omit to keep it. One of: company, user, calculation.

Response

Body

object
The quota as it now stands after the update — the same row list_quotas returns.