API Stability Preview

The removeCrossOrgViewConnections() GraphQL mutation is used to remove a cross organization view connection.

Syntax

Below is the syntax for the removeCrossOrgViewConnections() mutation field:

graphql
removeCrossOrgViewConnections(
       input: RemoveCrossOrgViewConnectionsInput!
    ): View!

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

Show:
graphql
mutation {
  removeCrossOrgViewConnections( input:
   {
     name: "alter-egos",
     connectionsToRemove: [{repoName: "other-view", organizationId: "123abc"}]
   } )
  { crossOrgConnections {orgId, id, name} }
}

Given Datatypes

For RemoveCrossOrgViewConnectionsInput, there are a couple of values that may be given. They're described below:

Table: RemoveCrossOrgViewConnectionsInput

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: Jan 29, 2025
connectionsToRemove[RemoveCrossOrgViewConnectionModel]yes  The unique identifiers of the connection. See RemoveCrossOrgViewConnectionModel.
namestringyes  The name of the cross organization view connection to remove.

Returned Datatypes

For View, there are several parameters. They're described below:

Table: View

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 27, 2025
actionmultipleyes Long-TermA saved action. The multiple datatype consists of (id: string): Action. The id is the unique identifier of the action. See Action.
actions[Action]yes Long-TermA list of saved actions. See Action.
aggregateAlertmultipleyes Long-TermA saved aggregate alert. The multiple datatype consists of (id: string): AggregateAlert. See AggregateAlert.
aggregateAlerts[AggregateAlert]yes Long-TermSaved aggregate alerts. See AggregateAlert.
alertmultipleyes Long-TermA saved alert. The multiple datatype consists of (id: string): Alert. See Alert.
alerts[Alert]yes Long-TermSaved alerts. See Alert.
allowedViewActions[ViewAction]yes Long-TermReturns the all actions the user is allowed to perform on the view. See ViewAction.
automaticSearchbooleanyes Long-TermWhether the search is executed automatically.
availablePackagesmultiple  Long-TermReturns a list of available packages that can be installed. The multiple datatype consists of (filter: string, tags: [PackageTag!], categories: [string]): [PackageRegistrySearchResultItem]. PackageTag is a scalar. See PackageRegistrySearchResultItem.
checkClusterConnections[ClusterConnectionStatus]yes Short-TermCheck all of this search domain's cluster connections. This is a preview and subject to change. See ClusterConnectionStatus.
clusterConnectionmultipleyes Short-TermA specific cluster connection. The multiple datatype consists of (id: string): ClusterConnection. See ClusterConnection.
clusterConnections[ClusterConnection]yes Short-TermThe search domain's cluster connections. See ClusterConnection.
connections[ViewConnection]yes Long-TermThe connections for the view. This is a preview and subject to change. See ViewConnection.
crossOrgConnections[CrossOrgViewConnection]yes Short-TermThe connections for the cross organization connections (see CrossOrgViewConnection Table).
dashboardmultipleyes Long-TermA saved dashboard. The multiple datatype consists of (id: string): Dashboard. See Dashboard.
dashboards[Dashboard]yes Long-TermSaved dashboards. See Dashboard.
defaultQuerySavedQuery  Long-TermThe default saved query. See SavedQuery.
deletedDatelong  Long-TermThe point in time the search domain was marked for deletion.
descriptionstring  Long-TermA description of the view.
fileFieldSearchmultipleyes Long-TermThe fields to search in a given file. The multiple datatype consists of (fileName: string, fieldName: string, prefixFilter: string, valueFilters: [FileFieldFilterType], fieldsToInclude: [string], maxEntries: integer): [DictionaryEntryType]. See FileFieldFilterType and DictionaryEntryType.
files[File]yes Long-TermA list of files used. See File.
filterAlertmultipleyes Long-TermA saved filter alert. The multiple datatype consists of (id: string): FilterAlert. See FilterAlert.
filterAlerts[FilterAlert]yes Long-TermSaved filter alerts. See FilterAlert.
groups[Group]yes Long-TermGroups with assigned roles. See Group.
hasPackageInstalledmultipleyes Long-TermDetermines whether package has been installed. The multiple datatype consists of (packageId: VersionedPackageSpecifier): boolean. VersionedPackageSpecifier is a scalar.
idstringyes Long-TermThe unique identifier of the view.
installedPackages[PackageInstallation]yes Long-TermList packages installed on a specific view or repository See PackageInstallation.
interactions[ViewInteraction]yes Long-TermAll interactions defined for the view. See PackageInstallation.
isActionAllowedmultipleyes Long-TermDetermines whether current user is allowed to perform the given action on the view. The multiple datatype consists of (action: ViewAction): boolean. See ViewAction.
isFederatedbooleanyes PreviewWhether the view is Federated. This is a preview and subject to change.
isStarredbooleanyes Long-TermWhether the view should be marked with a star.
nameRepoOrViewNameyes Long-TermThe name of the repository or view. RepoOrViewName is a scalar.
packageV2multipleyes Long-TermReturns a specific version of a package given a package version. The multiple datatype consists of (packageId: VersionedPackageSpecifier): Package2. VersionedPackageSpecifier is a scalar. See Package2.
packageVersionsmultipleyes Long-TermThe available versions of a package. This is a preview and may be moved to Package2. The multiple datatype consists of (packageId: UnversionedPackageSpecifier): [RegistryPackageVersionInfo]. UnversionedPackageSpecifier is a scalar. See RegistryPackageVersionInfo.
permanentlyDeletedAtlong  Long-TermThe point in time the search domain will not be restorable anymore.
recentQueriesV2[RecentQuery]yes Long-TermList of recent queries. See RecentQuery.
reposExcludedInSearchLimit[string]yes Long-TermRepositories not part of the search limitation.
resourcestringyes Short-TermThe resource identifier for the search domain.
savedQueries[SavedQuery]yes Long-TermA list of saved queries. See SavedQuery.
savedQuerymultipleyes Long-TermA saved query. The multiple datatype consists of (id: string): SavedQuery. See SavedQuery.
scheduledReportmultipleyes Long-TermSaved scheduled report. The multiple datatype consists of (id: string): ScheduledReport. See ScheduledReport.
scheduledReports[ScheduledReport]yes Long-TermSaved scheduled reports See ScheduledReport.
scheduledSearchmultipleyes Long-TermA saved scheduled search. The multiple datatype consists of (id: string): ScheduledSearch. See ScheduledSearch.
scheduledSearches[ScheduledSearch]yes Long-TermSaved scheduled searches. See ScheduledSearch.
searchLimitedMslong  Long-TermSearch limit in milliseconds, by which searches are limited.
starredFields[string]yes Long-TermFields marked with a star.
tags[string]yes Long-TermAll tags from all datasources.
users[User]yes Long-TermUsers who have access. See User.
usersAndGroupsmultiple  Long-TermUsers or groups who have access. The multiple datatype consists of (search: string, skip: integer, limit: integer): UsersAndGroupsSearchResultSet. See UsersAndGroupsSearchResultSet.
usersV2multiple  PreviewSearch users with a given permission. The multiple datatype consists of (search: string, permissionFilter: Permission, skip: integer, limit: integer): Users!. See Users.
viewerQueryPrefixstringyes Long-TermThe query prefix prepended to each search in the domain.