---
title: "POST /schedule.update"
method: POST
path: "/schedule.update"
tags: ["schedule"]
---

# POST /schedule.update

`POST /schedule.update`

## Request body

- object
  - `appName` string
  - `applicationId` string, nullable
  - `command` string, required
  - `composeId` string, nullable
  - `createdAt` string
  - `cronExpression` string, required
  - `enabled` boolean
  - `name` string, required
  - `scheduleId` string, required
  - `scheduleType` 'application' | 'compose' | 'server' | 'dokploy-server'
  - `script` string, nullable
  - `serverId` string, nullable
  - `serviceName` string, nullable
  - `shellType` 'bash' | 'sh'
  - `userId` string, nullable

## Response `200`

Successful response

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/charliedevelops/apis/dokploy-api.md) · [All operations](https://skmtc.net/charliedevelops/apis/dokploy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/charliedevelops/dokploy-api/versions/50e2e470fdd0/schema)
