---
title: "Create an access rule for mute/globally mute"
method: POST
path: "/chat-room-access-rules/"
---

# Create an access rule for mute/globally mute

`POST /chat-room-access-rules/`

Muting a profile in a chatroom

## Request body

- object
  - `profile_id` string, required
  - `directive` string, required — directive should be allow-read to mute
  - `chat_room_id` string — It should be a valid chatroom_id if we wish to mute a user in a chatroom , if not provided profile is globally muted

## Response `200`

200

## Other responses

- `400` — 400

---

[API](https://skmtc.net/livelike/apis/engagement-suite.md) · [All operations](https://skmtc.net/livelike/apis/engagement-suite/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livelike/engagement-suite/revisions/f3171d1c30f7/schema)
