Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Update backup schedule

Update a Pinecone backup schedule using the API, including pausing with enabled, changing frequency, and adjusting the retention expire_after_days.

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 }
  }'

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

  • schedule_id (string, required) — The ID of the backup schedule to update.
  • 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.

    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?

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu