---
title: "Rotate the owner key"
method: POST
path: "/api/v1/mcp-directory/servers/{id}/owner-key"
tags: ["mcp-directory"]
---

# Rotate the owner key

`POST /api/v1/mcp-directory/servers/{id}/owner-key`

## Request

- Base URL: `https://koskamo.com`
- URL: `https://koskamo.com/api/v1/mcp-directory/servers/{id}/owner-key`
- Auth: HTTP bearer

The presented key stops working at once; the new key is returned once. The confirmed contact, if any, is notified. Rate limit: 30 requests per minute per IP.

## Path parameters

- `id` string, required

## Response `201`

Rotated

- object
  - `ownerKey` string
  - `ownerKeyPrefix` string

## Other responses

- `401`: Missing, wrong, or lapsed owner key for this listing
- `403`: Access denied (trusted ingress required)
- `429`: Rate limited (30 requests per minute per IP)

---

[API](https://skmtc.dev/koskamo/apis/koskamo-agent-api.md) · [All operations](https://skmtc.dev/koskamo/apis/koskamo-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/koskamo/apis/koskamo-agent-api/revisions/c7761a377e7b?raw)
