---
title: "PUT /api/prometheus/set_remote_write"
method: PUT
path: "/api/prometheus/set_remote_write"
tags: ["Prometheus"]
---

# PUT /api/prometheus/set_remote_write

`PUT /api/prometheus/set_remote_write`

## Request body

- object
  - `remote_write_allowed_metrics` string, required
  - `remote_write_url` string, required

## Response `200`

Resource updated.

- 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.

## Changes

- **2026-05-25** `2681a9183a73` — 1 info
  - endpoint added
- **2026-05-04** `f092a403d700` — 1 breaking
  - api path removed without deprecation
- **2026-04-29** `83def8b2251a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/prometheus/set_remote_write/put.md)

---

[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/ecd4bae8a2f1/schema)
