---
title: "Allow or stop message requests from other clients"
method: PATCH
path: "/api/chat/peers/settings"
tags: ["chat"]
---

# Allow or stop message requests from other clients

`PATCH /api/chat/peers/settings`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/chat/peers/settings`
- Auth: HTTP bearer

## Request body

- PeerSettingsDto
  - `allowRequests` boolean, required: Whether other clients may send this client a message request.

## Response `200`

## Changes

- **2026-10-07** `dcecdb0ef84b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/chat/peers/settings/patch.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
