You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* have `CDN_PURGE_ENDPOINT_URL` configured and the `purgeCache` tenant
1175
1175
* feature enabled, otherwise the server returns an error.
1176
1176
*
1177
-
* Operates on a single object path. There is no wildcard or recursion: pass
1178
-
* the exact path of the object you want invalidated.
1177
+
* Operates on an entire bucket or a single object path. There is no wildcard or recursion: pass
1178
+
* the exact path of the object you want invalidated or none to invalidate the entire bucket.
1179
1179
*
1180
1180
* @category Storage
1181
1181
* @subcategory File Buckets
1182
-
* @parampath The path (relative to the bucket) of the object to purge, e.g. `folder/avatar.png`.
1182
+
* @paramoptions Purge options including the object path (relative to the bucket) of the object to purge, e.g. `folder/avatar.png`. Purges cache for the entire bucket if omitted
1183
1183
* @param parameters Optional fetch parameters such as an `AbortController` signal.
1184
1184
* @returns Promise with `{ data: { message }, error: null }` on success or `{ data: null, error }` on failure.
0 commit comments