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

# Update Scheduled Downtime

Update scheduled downtime.

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                        |
  | --------- | ------------------------------------------------------------------------------------------------------------------ |
  | ID        | The Id of the SDT. This value will be in the following format "XX\_##" where XX will refer to the type of SDT and. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                  |
  | ----------------------- | ------------------------------------------------------------------------------------------------------------ |
  | Admin                   | The name of the user who created the SDT.                                                                    |
  | Comment                 | The comment associated with the SDT.                                                                         |
  | Duration                | The duration of the SDT in minutes.                                                                          |
  | End Hour                | The hour that the SDT ends for a repeating SDT.                                                              |
  | End Minute              | The minute of the hour that the SDT ends for a repeating.                                                    |
  | End Time                | The date and time in which the maintenance window will end. The date should be in millisecond unix format.   |
  | Is Effective            | true: the SDT is currently active. false: the SDT is currently inactive.                                     |
  | Local End Time          | The date, time and time zone that the SDT will end at.                                                       |
  | Local Start Time        | The epoch time, in milliseconds, that the SDT will start.                                                    |
  | Month Day               | The day of the month that the SDT will be active for a monthly SDT.                                          |
  | Scheduled Downtime Type | the type of sdt, values can be oneTime\|weekly\|monthly\|daily\|monthlyByWeek.                               |
  | Start Hour              | The hour that the SDT will start for a repeating SDT (daily, weekly, or monthly).                            |
  | Start Minute            | The minute of the hour that the SDT should begin for a repeating SDT.                                        |
  | Start Time              | The date and time in which the maintenance window will begin. The date should be in millisecond unix format. |
  | Timezone                | The specific timezone for SDT.                                                                               |
  | Type                    | The type resource that this SDT is for.                                                                      |
  | Week Day                | the week day of sdt.                                                                                         |
  | Week Of Month           | The week of the month that the SDT will be active for a monthly SDT.                                         |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "<string>",
	"admin": "<string>",
	"comment": "<string>",
	"monthDay": 1,
	"hour": 1,
	"minute": 1,
	"endHour": 2,
	"endMinute": 2,
	"duration": 0,
	"startDateTimeOnLocal": "2025-04-07 23:54:36 CST",
	"startDateTime": 1724172893794,
	"endDateTimeOnLocal": "2025-04-07 23:57:10 CST",
	"endDateTime": 1780041830887,
	"isEffective": true,
	"timezone": "<string>",
	"type": "<string>",
	"weekOfMonth": "<string>",
	"sdtType": "<string>",
	"weekDay": "<string>",
	"deviceId": 3219,
	"deviceDisplayName": "<string>"
}
```

## Workflow Library Example

[Update Scheduled Downtime with Logicmonitor and Send Results Via Email](https://library.blinkops.com/workflows/update-scheduled-downtime-with-logicmonitor-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-scheduled-downtime-with-logicmonitor-and-send-results-via-email/canvas" />
</div>
