# Clear the cache

Clears a specific cache using the cache name or clears all caches when the `name` is defined as `all`. We strongly recommend that you do not clear your caches during periods of high system load. This can temporarily degrade performance and increase response times for some users.

Endpoint: DELETE /api/cache/{name}
Version: v1.0
Security: OAuth2.0

## Security:

  - `OAuth2.0` (unknown)
    oauth2

## Path parameters:

  - `name` (string, required)
    The name of the cache to clear. Use `all` to clear all caches.

## Response 200:

  - `200` (unknown)
    Cache was successfully cleared

## Response 400:

  - `400` (unknown)
    The cache name was not provided or is invalid

## Response 401:

  - `401` (unknown)
    Unauthorized request. The user does not have permission to clear caches

## Response 404:

  - `404` (unknown)
    The specified cache name does not exist

