---
title: "Refresh calendar cache and generate a new one by calendar ID for calendars with type 'user'"
method: POST
path: "/v2/scheduler/calendars/{calendar-id}/cache"
tags: ["ICS Calendar Rest Services for Metricool calendar (scheduler)"]
---

# Refresh calendar cache and generate a new one by calendar ID for calendars with type 'user'

`POST /v2/scheduler/calendars/{calendar-id}/cache`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/scheduler/calendars/{calendar-id}/cache`
- Auth: none declared

## Path parameters

- `calendar-id` integer, required

## Response `200`

Cache refreshed and regenerated successfully

- JsonOkResponseBoolean
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` boolean

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `500`: Internal server error

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/aea9d9a8415a?raw)
