Auto Upgrade
Retrieve the Auto-upgrade settings of a Site Defaults object.
Query parameters
siteIdinteger · int32Optional
The SiteId of a Site Defaults object for which to retrieve the Auto-upgrade settings (optional).
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/AVD/DefaultSettings/MultiSession/AutoUpgrade HTTP/1.1
Host:
Accept: */*
{
"enabled": true,
"startDateTime": "2025-07-02T21:30:46.942Z",
"drainModeDurationInSecs": 1,
"forceLogoffSessions": true,
"repeat": [
"0 = Never",
"1 = EveryDay",
"2 = EveryWeek",
"3 = Every2Weeks",
"4 = EveryMonth",
"5 = EveryYear",
"6 = SpecificDays"
],
"specificDays": [
"0 = Never",
"1 = Sunday",
"2 = Monday",
"4 = Tuesday",
"8 = Wednesday",
"16 = Thursday",
"32 = Friday",
"64 = Saturday"
],
"messages": [
{
"id": 1,
"enabled": true,
"messageTitle": "text",
"message": "text",
"sendMsgSecs": 1,
"sendMsgWhen": [
"0 = Before",
"1 = After"
]
}
]
}
Update the Auto-upgrade settings of a Site Defaults object.
Query parameters
siteIdinteger · int32Optional
The SiteId of a Site Defaults object for which to modify the Auto-upgrade settings (optional).
Body
objectOptional
Modify the Auto-upgrade settings
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put
PUT /api/AVD/DefaultSettings/MultiSession/AutoUpgrade HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 2
{}
No content
Last updated
Was this helpful?