# Update backup schedule

```shellscript title="PATCH / backup-schedules / schedule_id"
curl -sS -X PATCH "https://api.pinecone.io/backup-schedules/${SCHEDULE_ID}" \
  -H "api-key: ${PINECONE_API_KEY}" \
  -H "X-Pinecone-Api-Version: 2026-07" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "frequency": "weekly",
    "retention": { "expire_after_days": 14 }
  }'
```

:::callout{intent="note"}
This endpoint requires `X-Pinecone-Api-Version: 2026-07`.
:::

Update a backup schedule. Send only the fields you want to change. All body fields are optional.

### Path parameters

- `schedule_id` (string, required) — The ID of the backup schedule to update.

### Body parameters

- `enabled` (boolean) — Whether the schedule is enabled. Set to `false` to pause the schedule without deleting it.

- `frequency` (string) — How often backups are created. One of `daily`, `weekly`, or `monthly`.

- `retention` (object) — The retention policy for backups created by this schedule.

  :::accordion{title="Show retention properties"}
  - `expire_after_days` (integer) — The number of days after which backups created by this schedule are automatically deleted.
  :::

```shellscript
curl -sS -X PATCH "https://api.pinecone.io/backup-schedules/${SCHEDULE_ID}" \
  -H "api-key: ${PINECONE_API_KEY}" \
  -H "X-Pinecone-Api-Version: 2026-07" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "frequency": "weekly",
    "retention": { "expire_after_days": 14 }
  }'
```

Was this page helpful?

## Related pages

- [Create backup schedule](./database-2026-07-control-plane-create-backup-schedule.md)
- [List backup schedules](./database-2026-07-control-plane-list-backup-schedules.md)
- [Describe backup schedule](./database-2026-07-control-plane-describe-backup-schedule.md)
- [Delete backup schedule](./database-2026-07-control-plane-delete-backup-schedule.md)
- [List backup schedule history](./database-2026-07-control-plane-list-backup-schedule-history.md)
- [Create backup schedule](./database-2026-04-control-plane-create-backup-schedule.md)
- [List backup schedules](./database-2026-04-control-plane-list-backup-schedules.md)
- [Describe backup schedule](./database-2026-04-control-plane-describe-backup-schedule.md)
- [Update backup schedule](./database-2026-04-control-plane-update-backup-schedule.md)
- [Delete backup schedule](./database-2026-04-control-plane-delete-backup-schedule.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
