channels

Update channel's privacy

Updates channel's privacy allowing changing a channel from Public to Private and back.

Permissions

convert_public_channel_to_private permission for the channel if updating privacy to 'P'. convert_private_channel_to_public permission for the channel if updating privacy to 'O'.

put/api/v4/channels/{channel_id}/privacy

Path parameters

channel_idstring required

Channel GUID

Request body

privacystring required

Channel privacy setting: 'O' for a public channel, 'P' for a private channel

Response

Channel conversion successful

idstring
create_atinteger

The time in milliseconds a channel was created

update_atinteger

The time in milliseconds a channel was last updated

delete_atinteger

The time in milliseconds a channel was deleted

team_idstring
typestring
display_namestring
namestring
headerstring
purposestring
last_post_atinteger

The time in milliseconds of the last post of a channel

total_msg_countinteger
creator_idstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.