API Stability Long-Term

The updateDescriptionForSearchDomain() GraphQL mutation field is used to update the description for a search domain in LogScale.

For more information on searching repositories and views, see the Searching Data documentation page.

Syntax

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

graphql
updateDescriptionForSearchDomain(
      name: string!
      newDescription: string!
   ): UpdateDescriptionMutation!

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

Show:
graphql
mutation {
  updateDescriptionForSearchDomain(
      name: "humio",
      newDescription: "Owl Nook"
  )
  { description }
}
Example Responses
Show:
json
{
  "data": {
    "updateDescriptionForSearchDomain": {
      "description": "Owl Nook"
    }
  }
}

Returned Datatypes

The returned datatype UpdateDescriptionMutation has just one parameter. Below is a description of it:

Table: UpdateDescriptionMutation

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: Oct 4, 2024
descriptionstringyes Long-TermA description of the mutation.