---
title: "Create or update an organization's maintenance window"
method: PUT
path: "/orgs/{orgId}/maintenanceWindow"
tags: ["orgs/maintenanceWindow"]
---

# Create or update an organization's maintenance window

`PUT /orgs/{orgId}/maintenanceWindow`

__JWT is required for this endpoint with at least one of the following scopes__: o:w,s-o:w,o-basic:w,o{params.orgId}-hw:w<br/><br/>__Endpoint name__: createOrgMaintenanceWindow

## Path parameters

- `orgId` integer, required

## Request body

- object
  - `useMaintenanceWindow` boolean, required
  - `updateWindowDay` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday', required
  - `updateWindowStart` string, required
  - `updateWindowDuration` integer, required
  - `timeZone` string, required

## Response `204`

No Content

- object
  - `data` object
    - `useMaintenanceWindow` boolean
    - `modelId` integer
    - `maintenanceWindowTypeId` integer
    - `updateWindowDay` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'
    - `updateWindowStart` string
    - `updateWindowDuration` integer
    - `timeZone` string
  - `meta` object
    - `accessToken` object, nullable
      - `scopeUpdatedAt` string, date
    - `siteSpecificAccess` object, nullable
      - `isSiteSpecific` boolean
      - `siteIds` integer[], nullable
      - `siteIdsByScope` object, nullable
        - `string` integer[], nullable

---

[API](https://skmtc.net/openpath/apis/openpath-api-documentation.md) · [All operations](https://skmtc.net/openpath/apis/openpath-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpath/openpath-api-documentation/revisions/d8a888c114fa/schema)
