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:

Show:
graphql
mutation {
  updateLimit( input: 
    { limitName: "my-limit",
      userLimit: 10 }
  )
}
Example Responses
Show:
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

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 23, 2024
allowLoginboolean  DeprecatedWhether the limit allows logging in.
allowSelfServiceboolean  DeprecatedWhether self service is enabled for the organization, allowing features like creating repositories and setting retention.
contractVersionOrganizations__ContractVersion  DeprecatedWhich version of the LogScale contract applies. The datatype, Organizations__ContractVersion is an enumerated list: Version1, Version2. or Unknown.
dailyIngestlong  DeprecatedThe daily ingest allowed for the limit.
expirationlong  DeprecatedThe expiration date for the email action.
limitNamestringyes DeprecatedThe name of the limit.
retentioninteger  DeprecatedThe retention in days allowed for the limit.
userLimitinteger  DeprecatedThe limit for users.