API Stability Long-Term

The deleteSearchDomain() GraphQL mutation may be used to delete a repository or view in LogScale.

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

Syntax

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

graphql
deleteSearchDomain(
      name: string!
      deleteMessage: string
   ): BooleanResultType!

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

Show:
graphql
mutation {
  deleteSearchDomain( 
        name: "my-repository",
        deleteMessage: "It's Over!"
  )
  {result}
}
Example Responses
Show:
json
{
  "data": {
    "deleteSearchDomain": {
      "result": true
    }
  }
}

Returned Datatypes

BooleanResultType has a simple, boolean parameter. See the example above to understand better.

Table: BooleanResultType

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: Sep 24, 2024
resultsbooleanyes Long-TermWhether the mutation was performed.