---
title: "PUT /api/v1/admin/metering/credentials"
method: PUT
path: "/api/v1/admin/metering/credentials"
tags: ["admin"]
---

# PUT /api/v1/admin/metering/credentials

`PUT /api/v1/admin/metering/credentials`

## 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/admin/metering/credentials/put.ts> (a function with typed inputs; its response is checked against the schema)

Creates or updates the metering tool credentials. Only available in Kubermatic Enterprise Edition

## Response `200`

EmptyResponse is a empty response

## Other responses

- `401`: EmptyResponse is a empty response
- `403`: EmptyResponse is a empty response
- `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)
