Update post privacy in room​
Change the visibility of a post within a room. Toggle between public (visible outside room) and private (members only). Only admins can modify.
Path Parameters
roomId number required
Unique numeric room ID
postId number required
Unique numeric post ID
application/json
Request Body required
Privacy setting with isPublic boolean
isPublic boolean required
Responses
- 200
- 401
- 403
- 404
Post privacy updated successfully
User not authenticated
User not authorized to modify post privacy
Room or post not found
Loading...