API Stability Short-Term

The updateRemoteClusterConnection() GraphQL mutation may be used to update a cluster connection to a remote view.

Syntax

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

graphql
updateRemoteClusterConnection(
      input: UpdateRemoteClusterConnectionInput!
   ): RemoteClusterConnection!

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

Show:
graphql
mutation {
  updateRemoteClusterConnection( input:
    {
      multiClusterViewName: "my-gang",
      connectionId: "abc123",
      queryPrefix: "the_gang"
    }
  ) 
  { id }
}
Example Responses
Show:
json
{
  "data": {
    "updateRemoteClusterConnection": {
      "id": "abc123"
    }
  }
}

Given Datatypes

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

Table: UpdateRemoteClusterConnectionInput

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: Feb 26, 2025
connectionIdstringyes  The unique identifier of the connection to update.
multiClusterViewNamestringyes  The name or unique identifier of the multi-cluster view that has the connection.
publicUrlstring   The public URL of the remote cluster with which to connect.
queryPrefixstring   The filter query that restricts the data visible through this connection.
tags[ClusterConnectionInputTag]   Any additional tags that can be used to filter queries. See ClusterConnectionInputTag.
tokenstringyes  The access token for the remote view with which to connect.

Returned Datatypes

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

Table: RemoteClusterConnection

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 17, 2025
clusterIdstringyes Short-TermCluster identity of the connection.
idstringyes Short-TermThe unique identifier of the connection.
publicUrlstringyes Short-TermPublic URL of the remote cluster with which to connect.
queryPrefixstringyes Short-TermThe cluster connection query prefix.
tags[ClusterConnectionTag]yes Short-TermCluster connection tags. See ClusterConnectionTag.