---
title: "POST /mr-api/dacha1/cache"
method: POST
path: "/mr-api/dacha1/cache"
tags: ["CacheService"]
---

# POST /mr-api/dacha1/cache

`POST /mr-api/dacha1/cache`

Allows superusers to refresh the global Dacha1 cache (if it exists).

## Request body

- CacheRefreshRequest
  - `allTheThings` boolean — refresh the whole cache
  - `applicationId` string[] — if provided these applications will be refreshed
  - `portfolioId` string[]

## Response `200`

Success

- CacheRefreshResponse
  - `applicationsRefreshed` integer
  - `portfoliosRefreshed` integer
  - `environmentsRefreshed` integer
  - `serviceAccountsRefreshed` integer

## Other responses

- `400` — Bad Request
- `401` — no permission
- `403` — forbidden
- `404` — Dacha1 is not being used and API does not exist

---

[API](https://skmtc.net/featurehub-io/apis/managementresourceapi.md) · [All operations](https://skmtc.net/featurehub-io/apis/managementresourceapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/featurehub-io/managementresourceapi/revisions/faed5fd616c3/schema)
