Admin API / Mutations

setChatChannelSections

Creates, renames, reorders and deletes sections in one transaction. The input must list each section of the store once, in sections or in deletedSectionIds. A deleted section's channels move out of all sections, and channels with no section come after every section. A repeat with the same idempotencyKey and input within 24 hours returns the first result. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:chat:writeRequires this member role or higher: ADMIN
setChatChannelSections(
  input: SetChatChannelSectionsInput!
): SetChatChannelSectionsPayload!

Arguments

ArgumentTypeDescription
inputSetChatChannelSectionsInput!The sections in their new order, the sections to delete and the idempotency key.

Return type

SetChatChannelSectionsPayload!