upgradeOrgMxEdge

POST https://{{host}}/api/v1/orgs/:org_id/mxedges/upgrade

Body Parameters

NameTypeDescription
mxedge_idslistlist of mxedge IDs to upgrade or all mxedges in this organization (default)
channelstringupgrade channel to follow, stable (default) / beta / alpha
distrostringdistro upgrade, optional, to specific codename (e.g. bullseye) with highest qualified versions
versionsobjectservices to upgrade, ignored if distro upgrade, tunterm or radsecproxy or mxagent or mxocproxy or mxdas
allow_downgradesobjectoptional, default value is false
strategystringbig_bang(upgrade all at once) or serial(one at a time), default is big_bang

Request Body

{"mxedge_ids"=>["387804a7-3474-85ce-15a2-f9a9684c9c90"], "channel"=>"stable", "distro"=>"<codename>", "versions"=>{"mxagent"=>"latest", "tunterm"=>"default", "radsecproxy"=>"<version>"}, "allow_downgrades"=>{"mxagent"=>false, "tunterm"=>true}}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
X-CSRFTokenstring
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;95ddd29a-6a3c-929e-a431-51a5b09f36a6&quot;,&quot;name&quot;:&quot;Edge1&quot;,&quot;magic&quot;:&quot;ExNpT5gi-ADR8WTFd4EiQPY3cP5WdSoD&quot;,&quot;tunterm_registered&quot;:false,&quot;mxagent_registered&quot;:false,&quot;mxcluster_id&quot;:&quot;572586b7-f97b-a22b-526c-8b97a3f609c4&quot;}