---
title: "Get Cluster Admin Kubeconfig"
method: GET
path: "/internal/clusters/{cluster_id}/admin-kubeconfig"
tags: ["internal"]
---

# Get Cluster Admin Kubeconfig

`GET /internal/clusters/{cluster_id}/admin-kubeconfig`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/internal/clusters/{cluster_id}/admin-kubeconfig`
- Auth: none declared. Required headers: `x-service-token`

Get cluster admin kubeconfig (internal).

Returns the admin kubeconfig with full cluster access.
Used by workers for k3k operations that require cluster-admin permissions.

## Path parameters

- `cluster_id` string, uuid, required

## Headers

- `x-service-token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
