---
title: "Get the labels of the physicalMachines in the specified namespace from Kubernetes cluster."
method: GET
path: "/common/physicalmachine-labels"
tags: ["common"]
---

# Get the labels of the physicalMachines in the specified namespace from Kubernetes cluster.

`GET /common/physicalmachine-labels`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/common/physicalmachine-labels`
- Auth: none declared

Get the labels of the physicalMachines in the specified namespace from Kubernetes cluster.

## Query parameters

- `physicalMachineNamespaceList` string, required

## Response `200`

OK

- GithubComChaosMeshChaosMeshPkgDashboardApiserverUtilsMapStringSliceResponse

## Other responses

- `500`: Internal Server Error

## Changes

- **2021-12-21** `fcecc9938e61`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/changes/common/physicalmachine-labels/get.md)

---

[API](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api.md) - [All operations](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/revisions/2d6f9ed9cc7f?raw)
