API Stability Short-Term

The updateOrganizationLimits() GraphQL mutation is used to update manually contract limits. This is a system operation.

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 updateOrganizationLimits() mutation field:

graphql
updateOrganizationLimits(
     input: OrganizationLimitsInput!
   ): Organization!

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

Show:
graphql
mutation {
  updateOrganizationLimits( input:
    {
     ingest: 5000,
     retention: 30,
     users: 10,
     expiration: 1000,
     allowSelfService: false
    }
  )
 { id }
}
Example Responses
Show:
json
{
  "data": {
    "updateOrganizationLimits": {
      "id": "abc123"
    }
  }
}

Given Datatypes

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

Table: OrganizationLimitsInput

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 19, 2024
allowSelfServiceboolean  Short-TermWhether self service is enabled for the Organization, allowing features like creating repositories and setting retention.
contractVersionOrganizations__ContractVersionyes Short-TermWhich version of the LogScale contract applies. The datatype, Organizations__ContractVersion is an enumerated list: Unknown, Version1, or Version2.
expirationlongyes Short-TermThe expiration data of the organization limits.
ingestlongyes Short-TermIngest in bytes.
retentionintegeryes Short-TermRetention in days.
usersintegeryes Short-TermThe number of users allowed.

Returned Datatypes

The returned datatype Organization has several parameters. Below is a list of them along with a description of each:

Table: Organization

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 27, 2024
cidstring  Short-TermThe CID corresponding to the organization.
configsOrganizationConfigsyes Short-TermOrganization configurations and settings. See OrganizationDetails.
createdAtlong  Short-TermDate organization was created.
defaultCachePolicyCachePolicy  PreviewThe default cache policy of the organization. See CachePolicy. This is a preview and subject to change.
descriptionstring  Short-TermThe description for the Organization. Can be null.
detailsOrganizationDetailsyes Short-TermAny additional details related to the organization. See OrganizationDetails.
externalGroupSynchronizationbooleanyes Short-TermWhether there is group synchronization.
externalPermissionsbooleanyes Short-TermWhether permissions are managed externally.
idstringyes Short-TermThe unique id for the Organization.
ingestUrlstring  Short-TermThe ingest URL for the organization.
isActionAllowedmultipleyes Short-TermCheck if user has a permission in organization. The datatype consists of (action: OrganizationAction): boolean. For OrganizationAction, give the action to check if a user is allowed to perform on the organization. See OrganizationAction.
limits[limit]yes Short-TermLimits assigned to the organization. See limit.
limitsV2[LimitV2]yes Short-TermLimits assigned to the organization. See LimitV2.
namestringyes Short-TermThe name for the Organization.
publicUrlstring  Short-TermThe public URL for the organization.
readonlyDashboardIPFilterstring  Short-TermIP filter for readonly dashboard links.
searchDomains[searchDomain]yes Short-TermSearch domains within the organization. See searchDomain.
statsOrganizationStatsyes Short-TermStatistics of the organization. See OrganizationStats.
trialStartedAtlong  Short-TermDate organization's trial started.