---
title: "Turn automatic scheduling on or off for a project"
method: PUT
path: "/scheduling/projects/{id}/auto-schedule"
tags: ["scheduling"]
---

# Turn automatic scheduling on or off for a project

`PUT /scheduling/projects/{id}/auto-schedule`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/scheduling/projects/{id}/auto-schedule`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Off: editing a date or adding a link moves no other task, and only Recalculate writes scheduler dates. Nothing moves when it is turned off. Turning it on reschedules the whole project at once, as Recalculate does. Setting the current value is a no-op. Needs the same access as Recalculate: the org admin tier, the project owner, or a project OWNER or MANAGER.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Request body

- object
  - `autoSchedule` boolean, required

## Response `200`

`{ autoSchedule, changed, updated, diff }`, plus constraint violations and deadline misses when it was turned on

---

[API](https://skmtc.dev/onplana/apis/onplana-api.md) · [All operations](https://skmtc.dev/onplana/apis/onplana-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onplana/apis/onplana-api/revisions/c3d6c89e9dc8?raw)
