API Stability |
Deprecated
|
The addLimit() GraphQL mutation is used to add a limit to a given organization. This mutation field has been deprecated and will be removed at the earliest in version 1.201. Use instead addLimitV2().
For more information on query quotas, see the Query Quotas documentation page. You may also want to look at Limits & Standards for related information.
Syntax
Below is the syntax for the addLimit() mutation field:
addLimit(
input: AddLimitInput!
): boolean!
In the syntax above, you would replace
AddLimitInput
with
arguments required or allowed by that input definition (see the
AddLimitInput
table
below). A boolean value is always returned that your API client
may capture and use.
Below is an example of how this mutation field might be used:
mutation {
addLimit(input:
{limitName: "limiter2",
allowLogin: true, allowSelfService: true,
dailyIngest: 10000, retention: 30} )
}
{
"data": {
"addLimit": true
}
}
Given Datatypes
For AddLimitInput
, there
are several parameters that may be given. Below is a list of them
along with their data type and a description of each:
Table: AddLimitInput
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
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 17, 2024 | |||||
allowLogin | boolean | yes | Deprecated | Whether the limit allows logging in. | |
allowSelfService | boolean | yes | Deprecated | Whether the limit allows self-service. | |
contractVersion | Organizations__ContractVersion | Deprecated | The version of the contract, using the enumerate list of Organizations__ContractVersion : Unknown , Version1 , or Version2 . | ||
dailyIngest | long | yes | Deprecated | The daily ingest allowed for the limit. | |
expiration | long | Deprecated | The expiration date for the limit. | ||
limitName | string | yes | Deprecated | The name of the limit to add. | |
retention | integer | yes | Deprecated | The retention in days allowed for the limit. | |
userLimit | integer | Deprecated | The limit for users. |
One of these parameters uses
Organizations__ContractVersion
.
This is just an enumerated list of choices:
Unknown
;
Version1
; or
Version2
.