---
title: "Resets the opcode cache"
method: DELETE
path: "/api/server/opcode"
tags: ["Server Configuration"]
---

# Resets the opcode cache

`DELETE /api/server/opcode`

## Response `200`

Status of the opcode cache.

- ServerOpcache
  - `opcache_enabled` boolean
  - `reset_token` string

## Changes

- **2025-03-06** `4dc3bf84edf7` — 2 info
  - the endpoint scheme security `CookieAuthentication` was added to the API
  - the endpoint scheme security `TokenAuthentication` was added to the API
- **2020-09-17** `a2afb14bec4a` — 6 warning, 1 info
  - removed the optional property `cache_full` from the response with the `200` status
  - removed the optional property `interned_strings_usage` from the response with the `200` status
  - removed the optional property `memory_usage` from the response with the `200` status
  - removed the optional property `opcache_statistics` from the response with the `200` status
  - …3 more
- **2020-07-23** `42c41034504b` — 1 warning, 8 info
  - removed the optional property `reset_token` from the response with the `200` status
  - the endpoint scheme security `CookieAuthentication` was removed from the API
  - the endpoint scheme security `TokenAuthentication` was removed from the API
  - added the optional property `cache_full` to the response with the `200` status
  - …5 more

[Change history](https://skmtc.dev/contao/apis/contao-manager-api/changes/api/server/opcode/delete.md)

---

[API](https://skmtc.dev/contao/apis/contao-manager-api.md) · [All operations](https://skmtc.dev/contao/apis/contao-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/contao/contao-manager-api/revisions/4dc3bf84edf7/schema)
