> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a schedule.

> Delete a schedule.

### Path parameters

<ParamField path="tenant_id" type="string" required>
  Tenant identifier
</ParamField>

<ParamField path="schedule_id" type="string (uuid)" required>
  Schedule identifier
</ParamField>

### Response

`object`

<ResponseField name="deleted" type="boolean" required />

### Status codes

| Code  | Meaning                 |
| ----- | ----------------------- |
| `200` | Schedule deleted        |
| `401` | Unauthorized            |
| `404` | Schedule not found      |
| `424` | Database not configured |

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/schedules/{schedule_id}' \
    --header 'x-stateset-api-key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "deleted": false
  }
  ```
</ResponseExample>
