---
title: "Update the Recording Rules for the Room"
method: POST
path: "/v1/Rooms/{RoomSid}/RecordingRules"
tags: ["VideoV1RecordingRules"]
---

# Update the Recording Rules for the Room

`POST /v1/Rooms/{RoomSid}/RecordingRules`

Update the Recording Rules for the Room

## Path parameters

- `RoomSid` string, required

## Response `200`

OK

- VideoV1RoomRoomRecordingRule
  - `room_sid` string, nullable — The SID of the Room resource for the Recording Rules
  - `rules` object[], nullable — A collection of Recording Rules that describe how to include or exclude matching tracks for recording
    - `type` string
    - `all` boolean
    - `publisher` string
    - `track` string
    - `kind` string
  - `date_created` string, date-time, nullable — The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `date_updated` string, date-time, nullable — The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.

## Changes

- **2025-07-10** (v1) `fbd0d4e80399` — 1 info
  - the `Rules` request property type was generalized from `object` to no type
- **2025-03-11** (v1) `ad992ed01a68` — 1 breaking
  - the `Rules` request property type changed from no type to `object`
- **2025-02-20** (v1) `1b9f69e2d5d0` — 1 breaking, 1 info
  - removed the success response with the status `202`
  - added the success response with the status `200`
- **2023-08-10** (v1) `987a2e696598` — 1 info
  - api tag `VideoV1RecordingRules` added

[Change history](https://skmtc.dev/twilio/apis/video-v1/changes/v1/Rooms/:RoomSid/RecordingRules/post.md)

---

[API](https://skmtc.dev/twilio/apis/video-v1.md) · [All operations](https://skmtc.dev/twilio/apis/video-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/twilio/apis/video-v1/revisions/f3c1cd6b1b71?raw)
