API Stability |
Deprecated
|
The updateOrganizationMutability() GraphQL mutation may be used to update mutability of the organization. The readonly parameter is no longer used. Use instead blockIngestOnOrg. It will be removed at the earliest in version 1.177.0.
Syntax
Below is the syntax for the updateOrganizationMutability() mutation field:
graphql
updateOrganizationMutability(
organizationId: string!,
blockIngest: boolean!,
readonly: boolean!
): Organization!
Below is an example of how this mutation field might be used:
graphql
mutation {
updateOrganizationMutability(
organizationId: "SINGLE_ORGANIZATION_ID",
readonly: false,
blockIngest: false
)
{ id }
}
json
{
"data": {
"updateOrganizationMutability": {
"id": "SINGLE_ORGANIZATION_ID"
}
}
}
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. |