---
url: "https://vueda.dev/v3/reference/api/js/stores/storeModelConfig/methods/clearAuthScoped.md"
title: "clearAuthScoped"
---

# clearAuthScoped

## Overview

Drops the built configs, because they are derived from permission-filtered model info.

`genericConfigs` and `specificConfigs` are integrator input, not server data, so they
survive. In-flight builds are cancelled first, the same way `setConfig` cancels the builds
its overrides invalidate; this is that cancellation generalized from one model to all of
them.

Keys are deleted in place so `toRef` handles consumers hold into `builtConfigs` keep
reading the live container. Never replace a container here (that is what `$reset` does,
and it detaches every held handle).

## Signature

`clearAuthScoped()`

### Returns

`void`

## Source

`client/lib/stores/storeModelConfig.js:636`
