---
title: "Datastore Sync Scheduler Toggle"
method: POST
path: "/scheduler/sync/{data_store_id}"
tags: ["SCHEDULER"]
deprecated: true
---

# Datastore Sync Scheduler Toggle

`POST /scheduler/sync/{data_store_id}`

> **Deprecated.**

Fetches a datastoer by id.
:param data_store: The fetched data_store object

## Path parameters

- `data_store_id` integer, required

## Response `200`

Successful Response

- DatastoreSyncSchedulerToggleResponse
  - `periodic_task_ids` integer[], nullable
  - `ok` boolean, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
