The updateLimit() GraphQL mutation is used to update the limits with a given name. Only the arguments defined will be updated.

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!

Given Datatypes

For the given datatype, UpdateLimitInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: UpdateLimitInput

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