Update Machine Spectrum-X multiplane maintenance
Atomically update the Cartesian product of the selected rails and planes. Supply exactly one of rail, allRails, or railRange and exactly one of plane, allPlanes, or planeRange. Ranges are inclusive and ascending. All selected interfaces must be declared on the Machine; an undeclared selection rejects the complete update. Unselected interfaces are unchanged. maintenanceMode true disables links; false enables them. An omitted or null reference preserves the saved reference; an empty string clears it.
For Infrastructure Providers: Org must have an Infrastructure Provider entity and own the Site that the Machine belongs to. User must have authorization role with PROVIDER_ADMIN suffix.
When the Machine has a Tenant Instance attached, acknowledgeAttachedInstance must
be set to true in order to acknowledge the risk. A 200 response confirms that the desired
configuration was saved, but not completion of the hardware operation. User should fetch Machine
details in order to detect whether DPU observations have the desired interface revision and the
requested maintenance mode or if it has an error. The returned API data are separate per DPU
and may be absent or describe an earlier revision while operation is in progress.
Authentication
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
Path parameters
Request
True disables the selected links; false enables them.
Omit or send null to preserve it; send an empty string to clear it.
Response
Saved desired configuration with the latest available per-DPU observations
One entry per associated BlueField-4 DPU, ordered by DPU ID. Empty when none are present.