---
title: "Pin a root project to this daemon's loaded root signing key"
method: POST
path: "/api/v1/federation/root-keys/{project_name}/repin"
---

# Pin a root project to this daemon's loaded root signing key

`POST /api/v1/federation/root-keys/{project_name}/repin`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `project_name` string, required

## Request body

- RepinFederationRootKeyRequestBody
  - `preflight` boolean
  - `previous_key_file` string
  - `strand_relays` boolean

## Response `200`

OK

- FederationRootKeyRepinResult
  - `active_relay_enrollments` integer, required
  - `consequence` string
  - `creates_key_file` boolean
  - `key_file` string
  - `key_id` string
  - `method` 'none' | 'pin' | 'signed_rotation' | 'unsigned_repin', required
  - `previous_key_id` string
  - `project_name` string, required
  - `project_uid` string, required
  - `status` 'ready' | 'current' | 'pinned' | 'repinned' | 'rotated', required

## Other responses

- `default`: Error

## Changes

- **2026-10-14** `c5792dd95eca`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/kata/changes/api/v1/federation/root-keys/:project_name/repin/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/kata.md) - [All operations](https://skmtc.dev/kenn-io/apis/kata/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/kata/revisions/351807923500?raw)
