Update Expected Rack
Changed onUpdate an existing Expected Rack identified by its id.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Infrastructure Provider must own the Expected Rack.
Alternatively, Tenant Admins with TargetedInstanceCreation capability can also update Expected Racks if they have an account with the Site's Infrastructure Provider.
rackId is immutable: an update that changes it is rejected with 400 before any database mutation.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/expected-rack/{id}
- AuthHTTP bearer
Request body
Example request
{
"name": "Rack 01 (updated)",
"description": "Production rack in row A, upgraded chassis",
"labels": {
"chassis.manufacturer": "NVIDIA",
"chassis.serial-number": "NVRK0001001",
"chassis.model": "GB200-NVL72",
"location.datacenter": "phx-dc01",
"location.position": "A1"
}
}Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"rackId": "rack-01",
"siteId": "f97df110-f4de-492e-8849-4a6af68026b0",
"rackProfileId": "rp-standard-42u",
"name": "Rack 01",
"description": "Production rack in row A",
"labels": {
"chassis.manufacturer": "NVIDIA",
"chassis.serial-number": "NVRK0001001",
"chassis.model": "GB200-NVL72",
"location.region": "us-west-2",
"location.datacenter": "phx-dc01",
"location.room": "room-1",
"location.position": "A1"
},
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the non-success response with the status
- info