---
title: "Update Peer"
method: PUT
path: "/v3/workspaces/{workspace_id}/peers/{peer_id}"
tags: ["peers"]
---

# Update Peer

`PUT /v3/workspaces/{workspace_id}/peers/{peer_id}`

## Request

- Base URL: `https://api.honcho.dev`
- URL: `https://api.honcho.dev/v3/workspaces/{workspace_id}/peers/{peer_id}`
- Auth: one of:
  - HTTP bearer
  - none
- TypeScript: <https://skmtc.dev/clawdsolana/apis/honcho-api/docs/v3/workspaces/:workspace_id/peers/:peer_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a Peer's metadata and/or configuration.

## Path parameters

- `workspace_id` string, required
- `peer_id` string, required

## Request body

- PeerUpdate
  - `metadata` object, nullable
  - `configuration` object, nullable

## Response `200`

Successful Response

- Peer
  - `id` string, required
  - `workspace_id` string, required
  - `created_at` string, date-time, required
  - `metadata` object
  - `configuration` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clawdsolana/apis/honcho-api.md) - [All operations](https://skmtc.dev/clawdsolana/apis/honcho-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clawdsolana/apis/honcho-api/revisions/0730be052dc9?raw)
