disableFieldAliasSchemaOnViews()

API Stability Long-Term

The disableFieldAliasSchemaOnViews() GraphQL mutation field is used to disable the schema on the given views or repositories. This is a preview and subject to change. See also disableFieldAliasSchemaOnView() .

Syntax

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

graphql
disableFieldAliasSchemaOnViews(
       input: DisableFieldAliasSchemaOnViewsInput!
    ): boolean!

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

Show:
graphql
mutation {
  disableFieldAliasSchemaOnViews(
     input: {schemaId: "1234", 
             viewNames: ["humio", "testeroo"]}
  )
}
Example Responses
Show:
json
{
  "data": {
    "disableFieldAliasSchemaOnViews": true
  }
}

Given Datatypes

For DisableFieldAliasSchemaOnViewsInput, there are a couple of parameters. They're listed below with a description of each:

Table: DisableFieldAliasSchemaOnViewsInput

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: Nov 13, 2024
schemaIdstringyes PreviewThe unique identifier of the schema related to the field aliases to disable.
viewNames[string]yes PreviewThe names of the views related to the field aliases to disable.