/Quota/Projects/[ProjectName]/QuotaGroups/[QuotaGroup]/Quotas/[QuotaName]
This URL updates a single quota.
The quota name must be URL‑encoded.
The request body must contain either XML or JSON in the following format:
XML
<Quota AllowOverQuota="True" IsCounterOnly="True" Target="10" Completed="0" />
JSON
{
"AllowOverQuota": "True",
"IsCounterOnly": "False",
"Target": "10",
"Completed": "0"
}
Include only the attributes which need to be changed. For example, to change only the target, use the following request body:
XML
<Quota Target="10"/>
JSON
{
"Target": "10"
}
Setting a Target on an IsCounterOnly quota is allowed, but it is effective only if the IsCounterOnly flag is removed.
See also