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:
updateOrganizationLimits(
input: OrganizationLimitsInput!
): Organization!
Below is an example of how this mutation field might be used:
mutation {
updateOrganizationLimits( input:
{
ingest: 5000,
retention: 30,
users: 10,
expiration: 1000,
allowSelfService: false
}
)
{ id }
}
{
"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
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 19, 2024 | |||||
allowSelfService | boolean | Short-Term | Whether self service is enabled for the Organization, allowing features like creating repositories and setting retention. | ||
contractVersion | Organizations__ContractVersion | yes | Short-Term | Which version of the LogScale contract applies. The datatype, Organizations__ContractVersion is an enumerated list: Unknown , Version1 , or Version2 . | |
expiration | long | yes | Short-Term | The expiration data of the organization limits. | |
ingest | long | yes | Short-Term | Ingest in bytes. | |
retention | integer | yes | Short-Term | Retention in days. | |
users | integer | yes | Short-Term | The 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
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 27, 2024 | |||||
cid | string | Short-Term | The CID corresponding to the organization. | ||
configs | OrganizationConfigs | yes | Short-Term | Organization configurations and settings. See OrganizationDetails . | |
createdAt | long | Short-Term | Date organization was created. | ||
defaultCachePolicy | CachePolicy | Preview | The default cache policy of the organization. See CachePolicy . This is a preview and subject to change. | ||
description | string | Short-Term | The description for the Organization. Can be null. | ||
details | OrganizationDetails | yes | Short-Term | Any additional details related to the organization. See OrganizationDetails . | |
externalGroupSynchronization | boolean | yes | Short-Term | Whether there is group synchronization. | |
externalPermissions | boolean | yes | Short-Term | Whether permissions are managed externally. | |
id | string | yes | Short-Term | The unique id for the Organization. | |
ingestUrl | string | Short-Term | The ingest URL for the organization. | ||
isActionAllowed | multiple | yes | Short-Term | Check 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-Term | Limits assigned to the organization. See limit . | |
limitsV2 | [LimitV2 ] | yes | Short-Term | Limits assigned to the organization. See LimitV2 . | |
name | string | yes | Short-Term | The name for the Organization. | |
publicUrl | string | Short-Term | The public URL for the organization. | ||
readonlyDashboardIPFilter | string | Short-Term | IP filter for readonly dashboard links. | ||
searchDomains | [searchDomain ] | yes | Short-Term | Search domains within the organization. See searchDomain . | |
stats | OrganizationStats | yes | Short-Term | Statistics of the organization. See OrganizationStats . | |
trialStartedAt | long | Short-Term | Date organization's trial started. |