API Stability Long-Term

The deleteParser() GraphQL mutation may be used to delete a parser in LogScale.

For more information on access tokens of various types, see the Ingest Tokens documentation page.

Syntax

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

graphql
deleteParser(
      input: DeleteParserInput!
   ): BooleanResultType!

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

Show:
graphql
mutation {
  deleteParser(input:
       { repositoryName: "sandbox", 
         id: "KTTD6cnLBMRKiVTJda9vVjCr2UCWvhao"} ) 
    { result }
}
Example Responses
Show:
json
{
  "data": {
    "deleteParser": {
      "result": true
    }
  }
}

Given Datatypes

For DeleteParserInput, there are two straightforward parameters that may be given. They're listed and described below:

Table: DeleteParserInput

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 18, 2024
idstringyes Long-TermThe unique identifier of the ingest feed.
repositoryNameRepoOrViewNameyes Long-TermName of the repository of the ingest feed. RepoOrViewName is a scalar.

Returned Datatypes

For BooleanResultType, there's only one parameter that may be given. It's described below:

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.