API Stability Long-Term

The resetQuota() GraphQL mutation is used to set the quota and rate to a given value, or to reset it to the default.

Syntax

Below is the syntax for the resetQuota() mutation field:

graphql
resetQuota(
       input: ResetQuotaInput!
    ): boolean!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  resetQuota( input:
     { newQuota: 1000,
       newRate: 10 
     } 
  )
}
Example Responses
Show:
json
{
  "data": {
    "resetQuota": true
  }
}

Given Data Types

For ResetQuotaInput, there are a couple of parameters that may be given. They're listed below with a description of each:

Table: ResetQuotaInput

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 19, 2024
newQuotalongyes  The new quota value to set.
textlongyes  The new rate value to set.