---
title: "Update swarm keys"
method: POST
path: "/swarm"
tags: ["swarm"]
---

# Update swarm keys

`POST /swarm`

Add new crypto keys to an existing swarm

## Query parameters

- `hash` string, required

## Request body

- Key
  - `key` string
  - `keyfile` string
  - `until` string

## Response `200`

Sucessful operation

## Other responses

- `400` — Bad request
- `503` — Service unavailable

---

[API](https://skmtc.net/subutai-io/apis/subutai-p2p.md) · [All operations](https://skmtc.net/subutai-io/apis/subutai-p2p/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/subutai-io/subutai-p2p/versions/9160372d4103/schema)
