Security Requirements and Controls
API Stability Deprecated

The removeFile() GraphQL mutation is used to remove file from a LogScale server.

This mutation field is deprecated. It will be removed at the earliest in version 1.267. Use instead deleteFile().

For information on loading and using files, see the Lookup Files documentation page.

Syntax

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

graphql
removeFile(
      fileName: string!
      name: string!
   ): BooleanResultType!

Returned Datatypes

BooleanResultType is a simple datatype with one parameter. See the table here:

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.