---
title: "GET /api/v1/providers/vsphere/folders"
method: GET
path: "/api/v1/providers/vsphere/folders"
tags: ["vsphere"]
---

# GET /api/v1/providers/vsphere/folders

`GET /api/v1/providers/vsphere/folders`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v1/providers/vsphere/folders/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists folders from vsphere datacenter

## Headers

- `Username` string
- `Password` string
- `DatacenterName` string
- `Credential` string

## Response `200`

VSphereFolder

- VSphereFolder[]
  - `path` string: Path is the path of the folder

## Other responses

- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
