Admin API / Mutations

updateChatChannel

Changes a channel's name, description or access rules. An omitted field keeps its value. A repeat with the same input sets the same values, or returns ChatChannelAccessChangedError when the first call changed the rules that expectedAccess names. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:chat:writeRequires this member role or higher: ADMIN
updateChatChannel(
  input: UpdateChatChannelInput!
): UpdateChatChannelPayload!

Arguments

ArgumentTypeDescription
inputUpdateChatChannelInput!The channel and its changes.

Return type

UpdateChatChannelPayload!