Skip to main content
POST
/
maintenance
Create a new maintenance window
curl --request POST \
  --url https://api.example.com/maintenance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "startTime": "2023-11-07T05:31:56Z",
  "endTime": "2023-11-07T05:31:56Z",
  "projectId": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
title
string
required

The title of the maintenance window

description
string
required

The description of the maintenance window

startTime
string<date-time>
required

The start time of the maintenance window

endTime
string<date-time>
required

The end time of the maintenance window

projectId
string
required

The ID of the project this maintenance window belongs to

Response

The maintenance window has been successfully created.