Patch a server

patch/compute-ops-mgmt/v1beta2/servers/{id}

Partially update a Server specified by its id

Servers without a valid subscription will not return the following:

  • hardware.health
  • hardware.memoryMb
  • hardware.formFactor
  • hardware.bmc
  • hardware.platform
  • hardware.powerState
  • hardware.indicatorLed
  • firmwareInventory
  • softwareInventory
  • lastFirmwareUpdate
  • host
  • firmwareBundleUri
  • tags
  • originIp
  • biosFamily
  • storageInventory
  • processorVendor
  • autoIloFwupdate
  • serverGeneration
  • connectionType
  • oneview
URI PATH PREFIX RENAME

This API now supports the URI path prefix /compute-ops-mgmt which used to be /compute-ops. The old prefix will continue to be supported to allow for a smooth transition. The Guide contains more information about this change.

SecurityBearer
Request
path Parameters
id
required
string

Unique Server identifier

header Parameters
Content-Type
required
string

Content-Type header must designate 'application/merge-patch+json' in order for the request to be performed.

Value: "application/merge-patch+json"
Tenant-Acid
string <uuid>

Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.

In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts API to determine the application customer IDs for your tenant accounts.

Request Body schema: application/merge-patch+json
required
autoIloFwUpdate
boolean
Default: true

To opt in for automatic iLO-only firmware update

Responses
200

Successful Response

400

Bad request

401

Unauthorized

403

Forbidden

404

Not found

406

Not acceptable

415

Unsupported media type

500

Internal server error

Request samples
application/merge-patch+json
{
  • "autoIloFwUpdate": true
}
Response samples
application/json
{
  • "id": "string",
  • "name": "myServer",
  • "type": "compute-ops-mgmt/server",
  • "resourceUri": "/compute-ops-mgmt/v1beta2/servers/875765-S01+1M512501AB",
  • "generation": 1,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "platformFamily": { },
  • "serverGeneration": "GEN_10",
  • "hardware": {
    },
  • "state": {
    },
  • "firmwareInventory": [
    ],
  • "softwareInventory": [
    ],
  • "firmwareBundleUri": "string",
  • "lastFirmwareUpdate": {
    },
  • "tags": {
    },
  • "processorVendor": "Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz",
  • "biosFamily": "string",
  • "host": {
    },
  • "autoIloFwUpdate": true,
  • "oneview": {
    },
  • "lastFullInventoryCollectionAt": "2019-08-24T14:15:22Z",
  • "lastFullInventoryCollectionPowerState": "string"
}