Retrieve a Rack
Get a Rack by ID.
Org must have an Infrastructure Provider entity. User must have FORGE_PROVIDER_ADMIN authorization role.
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://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current
```
Path parameters
org
id
Query parameters
siteId
ID of the Site
includeComponents
Include rack components in response
Response
OK
id
Unique identifier of the Rack
name
Name of the Rack
manufacturer
Manufacturer of the Rack
model
Model of the Rack
serialNumber
Serial number of the Rack
description
Description of the Rack
location
Physical location of a Rack
components
Components within the Rack. Only returned when includeComponents is true.
Errors
403
Forbidden Error
404
Not Found Error