MaintenanceWindows
PUT /{stack}/adminconfig/v2/maintenance-windows/preferences
Changed onUpdate maintenance window preferences for a stack.
Request
- Base URLhttps://admin.splunk.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
stackstring required
The name of the stack.
Request body
Example request
{
"changeFreezes": {
"customerInitiatedFreezes": [
{
"appliesTo": "Splunk Initiated Changes Only",
"endDate": "2006/02/01",
"reason": "Black Friday/Cyber Monday Sales Week",
"startDate": "2006/02/01"
}
]
},
"preferredSchedule": {
"additionalPreferences": [
{
"daysOfWeek": [
"Monday"
],
"timeSlot": {
"end": "21:00",
"start": "13:00"
}
}
],
"preferredWindow": {
"alternateDays": [
"Monday"
],
"preferredDay": "Monday",
"timeSlot": {
"end": "21:00",
"start": "13:00"
}
}
}
}Response
successfully updated the maintenance window preferences for the stack
Changes
- info
added the new optional request property
- info
- info
endpoint added
- info