---
title: "Validates Specified Rack Configuration"
method: POST
path: "/racks/validate_rack_config"
tags: ["rack"]
---

# Validates Specified Rack Configuration

`POST /racks/validate_rack_config`

Check whether given rack configuration in this cluster's context is valid or not. A rack configuration refers to a map of racks to the hosts it contains.

## Request body

- ValidateRackConfigInput — List of rack_config objects, which represent a group of racks.
  - `rack_list` RackConfig[]
    - `rack_name` string
    - `host_list` HostReference[]
      - `kind` string, required — The kind name
      - `name` string
      - `uuid` string, UUID, required

## Response `200`

Success

- ValidateRackConfigOutput — Rack Config Validation output.
  - `error_list` string[] — List of errors describing why the validation failed.

## Other responses

- `default` — Internal Error

---

[API](https://skmtc.net/nutanix/apis/nutanix-intentful-api.md) · [All operations](https://skmtc.net/nutanix/apis/nutanix-intentful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nutanix/nutanix-intentful-api/revisions/40395083ab31/schema)
