---
title: "Set a deployment's schedule"
method: PUT
path: "/v1/deployments/{deploymentId}/schedule"
tags: ["Scheduling"]
---

# Set a deployment's schedule

`PUT /v1/deployments/{deploymentId}/schedule`

## Request

- Base URL: `https://api.auxen.ai`
- URL: `https://api.auxen.ai/v1/deployments/{deploymentId}/schedule`
- Auth: HTTP bearer

## Path parameters

- `deploymentId` string, required

## Request body

- object
  - `mode` 'always_on' | 'business_hours' | 'as_needed', required
  - `config` object

## Response `200`

OK

---

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