Directus / @directus/sdk / rest / clearCache
Function: clearCache()
clearCache<
Schema
>():RestCommand
<void
,Schema
>
Resets both the data and schema cache of Directus. This endpoint is only available to admin users.
Type parameters
• Schema extends object
Returns
RestCommand
<void
, Schema
>
Nothing