Get a Rack

GET/v1/racks/{rack_id}

A GET request to /v1/racks/{rack_id} will show you parameters of a rack. Its ID is a required parameter.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

rack_id*string

A unique identifier of a rack. Use the List all racks request to get an ID.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/racks/oQeZB6ep"
{  "id": "oQeZB6ep",  "name": "rack-10232",  "location_id": 1817,  "location_code": "location3737",  "labels": {    "environment": "production",    "service": "my-web-app",    "example.com/project": "my-project",    "example.com/owner": "my-team"  }}
{  "message": "Not found",  "code": "NOT_FOUND"}