API Stability Preview

The removeGlobalDefaultCachePolicy() GraphQL mutation field is used to remove the global default cache policy. 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 removeGlobalDefaultCachePolicy() mutation field:

graphql
removeGlobalDefaultCachePolicy: boolean!

There are no special datatypes for this mutation field.

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

Show:
graphql
mutation {
  removeGlobalDefaultCachePolicy
}
Example Responses
Show:
json
{
  "data": {
    "removeGlobalDefaultCachePolicy": true
  }
}