---
title: "PATCH /api/data-sync/{data_sync_id}/periodic-interval/"
method: PATCH
path: "/api/data-sync/{data_sync_id}/periodic-interval/"
tags: ["Database tables"]
---

# PATCH /api/data-sync/{data_sync_id}/periodic-interval/

`PATCH /api/data-sync/{data_sync_id}/periodic-interval/`

Updates the periodic data sync interval, if the user has the right permissions.
This is an **enterprise** feature.

## Path parameters

- `data_sync_id` integer, required

## Request body

- PatchedPeriodicDataSyncInterval
  - `interval` 'MANUAL' | 'DAILY' | 'HOURLY' — * `MANUAL` - MANUAL * `DAILY` - DAILY * `HOURLY` - HOURLY
  - `when` string, time
  - `automatically_deactivated` boolean — Indicates whether the periodic data sync has been deactivated.

## Response `200`

- PeriodicDataSyncInterval
  - `interval` 'MANUAL' | 'DAILY' | 'HOURLY' — * `MANUAL` - MANUAL * `DAILY` - DAILY * `HOURLY` - HOURLY
  - `when` string, time, required
  - `automatically_deactivated` boolean, required — Indicates whether the periodic data sync has been deactivated.

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
