---
title: "POST /api/block/mirroring/pool/{pool_name}/peer"
method: POST
path: "/api/block/mirroring/pool/{pool_name}/peer"
tags: ["RbdMirroringPoolPeer"]
---

# POST /api/block/mirroring/pool/{pool_name}/peer

`POST /api/block/mirroring/pool/{pool_name}/peer`

## Path parameters

- `pool_name` string, required

## Request body

- object
  - `client_id` string, required
  - `cluster_name` string, required
  - `key` string
  - `mon_host` string

## Response `201`

Resource created.

- object

## Other responses

- `202` — Operation is still executing. Please check the task queue.
- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

---

[API](https://skmtc.dev/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.dev/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/revisions/474e652a8dce/schema)
