---
title: "Cập nhật thông tin nhóm"
method: PUT
path: "/rooms/{roomId}"
tags: ["Rooms"]
---

# Cập nhật thông tin nhóm

`PUT /rooms/{roomId}`

## Path parameters

- `roomId` integer, required

## Request body

- FireAntApiModelsRoomsRoomUpdateRequest — Yêu cầu sửa thông tin room
  - `name` string — Tiêu đề
  - `description` string — Mô tả
  - `topics` integer[] — Các chủ đề liên quan đến nhóm
  - `symbols` string[] — Các mã chứng khoán liên quan đến nhóm
  - `privacy` integer — Loại nhóm - 0: Nhóm công khai, 1: Nhóm riêng tư
  - `visibility` integer — Tính công khai nhóm - 0: Công khai, cho phép người dùng bình thường có thể tìm thấy nhóm trên cộng đồng, 1: Không công khai, chỉ thành viên của nhóm mới tìm thấy nhóm trên cộng đồng

## Response `200`

Thành công

- FireAntApiModelsRoomsRoomDetail
  - `info` FireAntApiModelsRoomsRoom
    - `roomID` integer
    - `status` integer
    - `privacy` integer
    - `visibility` integer
    - `name` string
    - `description` string
    - `approved` boolean
    - `createdDate` string, date-time
    - `promotionLevel` integer
    - `invitationID` integer
    - `requestID` integer
    - `role` integer
    - `blocked` boolean
    - `verified` boolean
    - `lastActivityDate` string, date-time
    - `topics` FireAntApiModelsRoomsTopic[]
      - `topicID` integer
      - `name` string
      - `description` string
    - `symbols` FireAntApiModelsRoomsRoomSymbol[]
      - `symbol` string
      - `weight` integer
  - `totalMembers` integer
  - `totalPosts` integer
  - `totalRequests` integer
  - `totalBlockedUsers` integer
  - `totalPendingPosts` integer

## Other responses

- `400` — Có lỗi khi thực hiện thao tác

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) · [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fireant/fireant-restful-api/revisions/12bfdf99ab50/schema)
