---
title: "Update visibility of chat messages"
method: POST
path: "/admin/chat/messagevisibility"
tags: ["Internal", "Admin", "Chat"]
---

# Update visibility of chat messages

`POST /admin/chat/messagevisibility`

## Request body

- MessageVisibilityUpdate
  - `idArray` string[]
  - `visible` boolean

## Response `200`

Messages updated

- BaseAPIResponse — Simple API response
  - `message` string
  - `success` boolean

## Other responses

- `400` — Bad request
- `401` — Basic auth failure
- `default` — Unexpected error

---

[API](https://skmtc.net/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.net/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/owncast/owncast-apis/versions/dc1c42f7f8f6/schema)
