API Stability Long-Term

The updateLimitV2() GraphQL mutation is used to update the limit with the 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 updateLimitV2() mutation field:

graphql
updateLimitV2(
      input: UpdateLimitInputV2!
   ): LimitV2!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  updateLimitV2( input:
    { id: "abc123",
      userLimit: 10
    }
  )
 { id }
}
Example Responses
Show:
json
{
  "data": {
    "updateLimitV2": {
      "id": "abc123"
    }
  }
}

Given Datatypes

For UpdateLimitInputV2, there are several parameters. Below is a list of them along with a description of each:

Table: UpdateLimitInputV2

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
allowFlightControlboolean   Whether to allow Flight control.
allowLoginboolean   Whether to allow login.
allowSelfServicestring   Whether to allow self service.
dailyIngestlong   The amount of daily ingest allowed.
dailyIngestContractualTypeOrganizations__ContractualType   The contractual type for daily ingest: Limited, Unlimited, or Ignored.
dailyScanlong   The amount of daily scan permitted.
dailyScanContractualTypeOrganizations__ContractualType   The contractual type for daily scans: Limited, Unlimited, or Ignored.
dateTypestring   The data type.
expirationlong   The expiration date.
idstringyes  The unique identifier of the limit.
maxRetentioninteger   The maximum retention of events.
measurementTypeOrganizations__MeasurementType   The type of measurement: SegmentWriteSize or ProcessedEventsSize.
namestring   The name of the limit.
repositoryLimitinteger   The limit for the repository.
retentioninteger   The amount of retention.
storageContractualTypeOrganizations__ContractualType   The contractual type for storage: Limited, Unlimited, or Ignored.
trialboolean   Whether this is a trial limit.
userLimitinteger   The user limit.

Returned Datatypes

For LimitV2, there are several parameters. Below is a list of them along with a description of each:

Table: LimitV2

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: Mar 26, 2025
allowFlightControlbooleanyes Long-TermWhether the customer is allowed flight control.
allowLoginbooleanyes Long-TermWhether the limit allows logging in.
allowSelfServicebooleanyes Long-TermWhether the limit allows self service.
dailyIngestcontractualyes Long-TermThe daily ingest allowed for the limit.
dataScannedLimitcontractualyes Long-TermThe data scanned measurement allowed for the limit. See Limited.
dataTypestringyes Long-TermData type for the limit, all repositories linked to the limit will get this datatype logged in usage.
deletedDatelong  Long-TermThe deleted date for the limit.
expirationDatelong  Long-TermThe expiration date for the limit.
idstringyes Long-TermThe unique identifier of the limit.
limitNamestringyes Long-TermThe name of the limit.
maxRetentionintegeryes Long-TermThe max retention in days allowed for the limit, this can be greater than or equal to retention.
measurementPointOrganizations__MeasurementTypeyes Long-TermThe usage measurement type used for the limit. This datatype is an enumerated list. The choices are SegmentWriteSize and ProcessedEventsSize.
repoLimitinteger  Long-TermThe number of repositories allowed for the limit.
repositories[Repository]yes Long-TermThe repositories related to the limit. See Repository.
retentionintegeryes Long-TermThe retention in days allowed for the limit, that's the contracted value.
storageLimitcontractualyes Long-TermThe amount of storage allowed for the limit. See Limited.
trialbooleanyes Long-TermWhether the limit is a trial.
userLimitcontractualyes Long-TermThe user seats allowed for the limit. See Limited.