API Stability |
Deprecated
|
The updateLimit() GraphQL mutation is used to update the limits with a given name. Only the arguments defined will be updated. This mutation field is deprecated and it will be removed in version 1.201. Use instead updateLimitV2().
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 updateLimit() mutation field:
graphql
updateLimit(
input: UpdateLimitInput!
): boolean!
Below is an example of how this mutation field might be used:
graphql
mutation {
updateLimit( input:
{ limitName: "my-limit",
userLimit: 10 }
)
}
json
{
"data": {
"updateLimit": true
}
}
Given Datatypes
For UpdateLimitInput, there are several parameters. Below is a list of them along with a description of each:
Table: UpdateLimitInput
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 23, 2024 | |||||
allowLogin | boolean | Deprecated | Whether the limit allows logging in. | ||
allowSelfService | boolean | Deprecated | Whether self service is enabled for the organization, allowing features like creating repositories and setting retention. | ||
contractVersion | Organizations__ContractVersion | Deprecated | Which version of the LogScale contract applies. The datatype, Organizations__ContractVersion is an enumerated list: Version1 , Version2 . or Unknown . | ||
dailyIngest | long | Deprecated | The daily ingest allowed for the limit. | ||
expiration | long | Deprecated | The expiration date for the email action. | ||
limitName | string | yes | Deprecated | The name of the limit. | |
retention | integer | Deprecated | The retention in days allowed for the limit. | ||
userLimit | integer | Deprecated | The limit for users. |