Retrieve Expected Rack
Retrieve a specific Expected Rack by its id.
Org must have an Infrastructure Provider entity. User must have FORGE_PROVIDER_ADMIN or FORGE_PROVIDER_VIEWER role.
Alternatively, Tenant Admins with TargetedInstanceCreation capability can also retrieve Expected Racks if they have an account with the Site’s Infrastructure Provider.
Authentication
AuthorizationBearer
```
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
org
id
Query parameters
includeRelation
Related entity to expand
Allowed values:
Response
OK
id
Unique identifier (UUID) for the Expected Rack
rackId
Operator-supplied identifier for the rack (string, not UUID). Unique within a Site.
siteId
ID of the Site the Expected Rack belongs to
rackProfileId
Identifier of the Rack Profile this rack conforms to
name
Human-readable name of the Expected Rack
description
Human-readable description of the Expected Rack
labels
User-defined key-value pairs for organizing and categorizing Expected Racks. Well-known keys (chassis.*, location.*) are used to convey chassis identity and physical location.
created
ISO 8601 datetime when the Expected Rack was created
updated
ISO 8601 datetime when the Expected Rack was last updated
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error