The uninstallPackage() GraphQL mutation may be used to uninstall a package from a specific view in LogScale.

For more information on packages, see the Packages documentation page.

Syntax

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

graphql
uninstallPackage(
      packageId: UnversionedPackageSpecifier!
      viewName: string!
   ): BooleanResultType!

Given and Returned Datatype

The given database type, UnversionedPackageSpecifier is a scalar. The returned datatype BooleanResultType has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: BooleanResultType

ParameterTypeRequiredDefaultDescription
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.
resultsbooleanyes Whether the mutation was performed.