---
title: "Set Schedule Status"
method: PATCH
path: "/v1/teams/{team_id}/schedules/{schedule_id}"
tags: ["schedules"]
---

# Set Schedule Status

`PATCH /v1/teams/{team_id}/schedules/{schedule_id}`

## Request

- Base URL: `https://api.stormy.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stormy.ai/v1/teams/{team_id}/schedules/{schedule_id}`
- Auth: none declared

## Path parameters

- `team_id` string, uuid, required
- `schedule_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- SetScheduleStatusRequest
  - `status` 'active' | 'paused' | 'cancelled', required
  - `next_run_at` string, date-time, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/a40e83844eaa?raw)
