---
title: "Changes to Resets the Bytescale CDN cache for a specific path, path prefix, or for your entire account.\n\nYou can choose to reset the edge cache, or permanent cache, or both caches.\n\n*Warning:* Resetting the permanent cache (by setting ```resetPermanentCache: true```) may lead to a significant increase in processing time if numerous file transformations need to be re-performed upon their next request.\n\n*Recommended:* Prevent cache resets by adding a ```?v=<etag>``` querystring parameter to your URLs. This ensures your URLs change when your files change, eliminating the need for cache resets. The `etag` field is returned by GetFileDetails and all upload operations, and can be saved to your database.\n\n*Example patterns:*\n\n- ```\"/*\"```\n- ```\"/raw/example.jpg\"```\n- ```\"/image/example.jpg\"```\n- ```\"/image/customers/abc/*\"```\n\nYou may only use ```*``` at the end of the pattern. You must not include your account ID prefix in the pattern."
method: POST
path: "/v2/accounts/{accountId}/cache/reset"
---

# Changes to Resets the Bytescale CDN cache for a specific path, path prefix, or for your entire account.

You can choose to reset the edge cache, or permanent cache, or both caches.

*Warning:* Resetting the permanent cache (by setting ```resetPermanentCache: true```) may lead to a significant increase in processing time if numerous file transformations need to be re-performed upon their next request.

*Recommended:* Prevent cache resets by adding a ```?v=<etag>``` querystring parameter to your URLs. This ensures your URLs change when your files change, eliminating the need for cache resets. The `etag` field is returned by GetFileDetails and all upload operations, and can be saved to your database.

*Example patterns:*

- ```"/*"```
- ```"/raw/example.jpg"```
- ```"/image/example.jpg"```
- ```"/image/customers/abc/*"```

You may only use ```*``` at the end of the pattern. You must not include your account ID prefix in the pattern.

`POST /v2/accounts/{accountId}/cache/reset`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-09-01** `d63ecdd9ae9c`: 1 info

## Changes

- **2026-09-01** `d63ecdd9ae9c`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/bytescale/apis/bytescale-api/docs/v2/accounts/:accountId/cache/reset/post.md) - [API](https://skmtc.dev/bytescale/apis/bytescale-api.md) - [Page](https://skmtc.dev/bytescale/apis/bytescale-api/changes/v2/accounts/:accountId/cache/reset/post)
