API Stability Preview

The removeRepoCachePolicy() GraphQL mutation is used to remove the cache policy of a repository. This field is not yet available. It's described here as a preview. Cache policies are a limited feature and is subject to change.

For information on configuring a cache, see the CACHE_STORAGE_DIRECTORY reference page.

Syntax

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

graphql
removeRepoCachePolicy(
     input: RemoveRepoCachePolicyInput!
   ): boolean!

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

Show:
graphql
mutation {
  removeRepoCachePolicy( input:
    { repositoryName: "humio" } 
  )
}
Example Responses
Show:
json
{
  "data": {
    "removeRepoCachePolicy": true
  }
}

Given Datatypes

RemoveRepoCachePolicyInput, there's only one parameter. It's described here:

Table: RemoveRepoCachePolicyInput

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 19, 2024
repositoryNamestringyes PreviewThe name of the repository related to the cache policy.