---
title: "Update a CoreCluster's snapshot settings"
url: https://docs.corefinity.com/api/reference/backups/update-cluster-snapshot-settings
type: endpoint
last_updated: 2026-11-13
feature: snapshots
related:
  - https://docs.corefinity.com/guides/sites/backups/snapshots.md
  - https://docs.corefinity.com/mcp/tools/corecluster_snapshot_settings_update.md
---
# Update a CoreCluster's snapshot settings

Sets the frequency the CoreCluster's sites follow unless they have their own. The quota and the retention are
set by Corefinity and cannot be changed here.

```http
PUT /api/corestack/clusters/{cluster}/snapshot-settings
```

- Scope: `write`
- Two-factor: required on your account (all)
- Rate limit: 60 a minute
- Try it in the console: on

## Path parameters

- `cluster` (integer, required): The id of a CoreCluster. Digits only.

## Body

- `frequency` (string, required): How often scheduled snapshots are taken. One of `1h`, `2h`, `3h`, `4h`, `6h`, `12h`, `daily`, `weekly`, `monthly`, `off`.

## Request

### curl

```bash
curl -X PUT https://manage.corefinity.com/api/corestack/clusters/1017/snapshot-settings \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "frequency": "daily"
  }'
```

### PHP

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken(env('COREFINITY_TOKEN'))
    ->acceptJson()
    ->put('https://manage.corefinity.com/api/corestack/clusters/1017/snapshot-settings', [
        'frequency' => 'daily',
    ]);

$data = $response->json();
```

### Node

```javascript
const res = await fetch('https://manage.corefinity.com/api/corestack/clusters/1017/snapshot-settings', {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
    Accept: 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    frequency: 'daily',
  }),
});

// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);
```

### Python

```python
import os
import requests

res = requests.put(
    "https://manage.corefinity.com/api/corestack/clusters/1017/snapshot-settings",
    headers={
        "Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
        "Accept": "application/json",
    },
    json={
        "frequency": "daily",
    },
)

data = res.json() if res.content else None
```

## Responses

### 200 The CoreCluster's snapshot settings as they are now.

```json
{
  "can_change_frequency": true,
  "can_change_limits": false,
  "enabled": true,
  "frequency": "daily",
  "frequency_label": "Daily",
  "frequency_options": [
    {
      "label": "Every hour",
      "value": "1h"
    },
    {
      "label": "Every 2 hours",
      "value": "2h"
    },
    {
      "label": "Every 3 hours",
      "value": "3h"
    },
    {
      "label": "Every 4 hours",
      "value": "4h"
    },
    {
      "label": "Every 6 hours",
      "value": "6h"
    },
    {
      "label": "Every 12 hours",
      "value": "12h"
    },
    {
      "label": "Daily",
      "value": "daily"
    },
    {
      "label": "Weekly",
      "value": "weekly"
    },
    {
      "label": "Monthly",
      "value": "monthly"
    },
    {
      "label": "Off",
      "value": "off"
    }
  ],
  "over_quota": false,
  "protect_cap_bytes": 53687091200,
  "protected_bytes": 6442450944,
  "pruned_recently": false,
  "quota_bytes": 107374182400,
  "retention_days": 30,
  "usage_bytes": 21474836480,
  "usage_synced_at": "2026-11-03T18:00:00Z"
}
```

### 401 No token, or a token that is not valid.

```json
{
  "message": "Unauthenticated."
}
```

### 403 The token lacks the scope (`scope_required`), two-factor authentication is required and not set up (`two_factor_required`), or the body carries `quota_gb` or `retention_days`, which only Corefinity can set (`forbidden`).

```json
{
  "code": "company_unavailable",
  "message": "Your company is unavailable.",
  "reason": "company_unavailable"
}
```

### 404 The id does not exist, or it is something you cannot see. Both answer the same body.

```json
{
  "message": "Not found."
}
```

### 409 The CoreCluster's package sets its snapshot settings (`conflict`), or the cluster has no settings of its own because its sites are standalone (`platform_cluster`).

```json
{
  "code": "conflict",
  "message": "This cluster's snapshot settings are set by its Medium package. Scheduled snapshots are switched on or off per environment (Snapshots tab).",
  "reason": "conflict"
}
```

### 422 The `frequency` is not one of the allowed values (`invalid`), or the body has nothing to change (`invalid_arguments`, which means the same as `invalid`; `field` is `frequency`).

```json
{
  "code": "invalid",
  "errors": {
    "frequency": [
      "The selected frequency is invalid."
    ]
  },
  "field": "frequency",
  "message": "The selected frequency is invalid.",
  "reason": "invalid"
}
```

### 429 Too many requests (`rate_limited`). Wait for the number of seconds in `Retry-After`, which `retry_after_seconds` repeats.

```json
{
  "code": "rate_limited",
  "message": "Too many requests. Try again in 60 seconds.",
  "reason": "rate_limited",
  "retry_after_seconds": 60
}
```

## If it is refused

| Status | Reason | What to do |
|---|---|---|
| 401 |  | Send a valid token as `Authorization: Bearer <token>`. |
| 403 | `company_unavailable` | Your company is unavailable. |
| 403 | `forbidden` | The person is not allowed to do this. |
| 403 | `scope_required` | Use a token with the scope named in `scope`. |
| 403 | `two_factor_required` | Turn on two-factor on your account, then send again. |
| 404 |  | Check the id. You see only what your account can reach. |
| 409 | `conflict` | The action conflicts with the object's present state. Read the message. |
| 409 | `platform_cluster` | The cluster is the CoreStack platform, which has no settings or sites of its own to change this way. Change or create the site itself instead. |
| 422 | `invalid` | Fix the field named in `field`; `errors` says why. |
| 422 | `invalid_arguments` | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
| 429 | `rate_limited` | Wait for the seconds in `Retry-After`. |

## The same task elsewhere

- Guide: [Backups](https://docs.corefinity.com/guides/sites/backups/snapshots.md)
- MCP tool: [`corecluster_snapshot_settings_update`](https://docs.corefinity.com/mcp/tools/corecluster_snapshot_settings_update.md)
