Modify Blackout Window Details
Select
Modify the properties of an existing Blackout Window
Path Parameters
- blackoutWindowId int32 required
Id of the Blackout Window to update
- application/json
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
- days string[]
Possible values: [
SUNDAY
,MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
]Days of the week when the blackout window will be in effect.
- 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.
time object[]
betweenDates object
- 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.
- 200
- 400
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Bad Request
Requested Details not found
PUT /v4/blackoutwindow/:blackoutwindowid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/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"
},
"days": [
"SUNDAY"
],
"weeks": [
"FIRST"
],
"time": [
{
"start": 0,
"end": 0
}
],
"betweenDates": {
"start": 0,
"end": 0
},
"doNotSubmitJob": true
}'