The addOrUpdateQueryQuotaDefaultSettings() GraphQL mutation field is used to add or update default query quota settings.

For more information on query quotas, see the Query Quotas documentation page.

Syntax

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

graphql
addOrUpdateQueryQuotaDefaultSettings(
      input: QueryQuotaDefaultSettingsInput!
    ): QueryQuotaDefaultSettings!

Given Datatypes

For the input (i.e., QueryQuotaDefaultSettingsInput), there is one parameter that may be given. It's described below:

Table: QueryQuotaDefaultSettingsInput

ParameterTypeRequired[a]DefaultDescription
settingsQueryQuotaIntervalSettingInputyes The default query quota settings (see QueryQuotaIntervalSettingInput Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.


Returned Datatypes

As indicated by the syntax above, this mutation will return data using the input type, queryQuotaDefaultSettings(). Below is the parameter of that datatype:

Table: QueryQuotaDefaultSettings

ParameterTypeRequired[a]DefaultDescription
settings[QueryQuotaIntervalSetting]yes List of the default rules that apply to users (see QueryQuotaIntervalSetting Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.