Skip to main content

Modify Blackout Window properties

Select

SaaS
Customer Managed

Modify the properties of an existing Blackout Window

Path Parameters
  • blackoutWindowId int32 required

    Id of the Blackout Window to update

Request Body
  • newName string

    Refers to the newName given to the blackout Window.

  • backupOperations string[]

    Possible values: [FULL, INCREMENTAL_AND_DIFFERENTIAL, SYNTHETIC_FULL, TRANSACTION_LOG, ALL_OPERATIONS]

    Refers to backup types to include in the blackout window

  • company object
  • id int32
  • name string
  • allDays object[]

    Days of the week along with the time on which the black out window will be in effect.

  • days string[]

    Possible values: [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]

    Days of the week when the blackout window will be in effect.

  • time object
  • start int64

    the blackout window comes into effect at this point.

  • end int64

    the blackout window is no longer in effect from this point on.

  • weeks string[]

    Possible values: [FIRST, SECOND, THIRD, FOURTH, LAST, EVERY]

    Refers to the weeks of the month that the blackout window will be in effect.

  • betweenDates object
  • start int64

    the blackout window comes into effect at this point.

  • end int64

    the blackout window is no longer in effect from this point on.

  • doNotSubmitJob boolean

    Allows or Denies submitting a job when the blackout window is in effect. If allowed, the job is submitted and resumed once the blackout window ends.

Responses

Success


Schema
  • errorMessage string
  • errorCode int32
PUT /v5/blackoutwindow/:blackoutwindowid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
blackoutWindowId — path required
Body
{
"newName": "string",
"backupOperations": [
"FULL"
],
"company": {
"id": 0,
"name": "string"
},
"allDays": [
{
"days": [
"SUNDAY"
],
"time": {
"start": 0,
"end": 0
}
}
],
"weeks": [
"FIRST"
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/BlackoutWindow/:blackoutWindowId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"backupOperations": [
"FULL"
],
"company": {
"id": 0,
"name": "string"
},
"allDays": [
{
"days": [
"SUNDAY"
],
"time": {
"start": 0,
"end": 0
}
}
],
"weeks": [
"FIRST"
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'