---
title: "Update Schedule"
method: PATCH
path: "/api/v1/dbt/cloud/connections/{connection_id}/schedule"
tags: ["DBT_CLOUD", "dbt_cloud"]
deprecated: true
---

# Update Schedule

`PATCH /api/v1/dbt/cloud/connections/{connection_id}/schedule`

> **Deprecated.**

Update the sync schedule for a connection.

## Path parameters

- `connection_id` integer, required

## Request body

- DbtCloudScheduleUpdateRequest — Request to update the sync schedule.
  - `sync_type` string, nullable — Sync type: 'scheduled' or 'real_time'
  - `cron_expr` string, nullable — Cron expression for sync schedule
  - `lookback_days` integer, nullable — Days to look back for runs
  - `is_active` boolean, nullable — Enable/disable the schedule

## Response `200`

Successful Response

- DbtCloudScheduleResponse — Sync schedule configuration.
  - `id` integer, required
  - `sync_type` string, required
  - `cron_expr` string, required
  - `lookback_days` integer, required
  - `is_active` boolean, required
  - `last_sync_at` string, date-time, nullable
  - `last_sync_status` string, nullable
  - `last_sync_error` string, nullable
  - `created_at` string, date-time, required
  - `last_modified_at` string, date-time, required

## Other responses

- `400` — Bad request
- `403` — Forbidden
- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/82206441f16e/schema)
