Add API documentation for the /channels/{channel_id}/privacy endpoint

Description

The API has an endpoint to modify the channel privacy (converting a channel from public to private and the other way around) is not currently documented.

This ticket includes the addition of this documentation to the Mattermost API reference repository. The endpoint related code can be found in the updateChannelPrivacy function in api4/channel.go file from the mattermost-server repository.

QA Test Steps

None

Status

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Miguel de la Cruz

Epic Link

None

Fix versions

None

Mattermost Team

Platform

Sprint

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure