Avisi cloud logo
Maintenance schedules

Create a maintenance schedule for an organisation.

POST
/api/v1/organisations/{organisationSlug}/maintenance-schedule

Request Body

application/jsonRequired

namestring

windowsarray<object>

Path Parameters

organisationSlug
Required
string

curl -X POST "http://localhost:8090/api/v1/organisations/string/maintenance-schedule" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "windows": [
      {
        "day": "MONDAY",
        "startTime": "00:00",
        "duration": 60
      }
    ]
  }'

Request was successfully processed. The response body contains the requested data.

{
  "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
  "name": "string",
  "clusterCount": 0,
  "windows": [
    {
      "day": "MONDAY",
      "startTime": "string",
      "duration": 0
    }
  ]
}