API Stability Long-Term

The deleteAction() GraphQL mutation may be used to delete an action in LogScale.

For more information on creating an action, see the Actions documentation page.

Syntax

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

graphql
deleteAction(
     input: DeleteAction!
   ): boolean!

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

Show:
graphql
mutation {
  deleteAction(input:
         {viewName: "humio", 
          id: "LHyIpmjXf6ZaGkt8oaTkVKQwAGsMXLBO" } )
}
Example Responses
Show:
json
{
  "data": {
    "deleteAction": true
  }
}

Given Datatypes

For the given datatype, DeleteAction, there are a couple of parameters that may be given. They're listed below:

Table: DeleteAction

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 action.
viewNamestringyes Long-TermThe name of the view of the action.