Admin API / Mutations

setCollectionsSettings

Applies the same settings to 1 to 100 collections. A collection that does not have an input setting, such as pinned on a livestream collection, fails, and the other collections still change. One result per input ID, in input order. A repeat writes the same values. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:collections:writeRequires this member role or higher: ADMIN
setCollectionsSettings(
  input: SetCollectionsSettingsInput!
): SetCollectionsSettingsPayload!

Arguments

ArgumentTypeDescription
inputSetCollectionsSettingsInput!The collections and the settings.

Return type

SetCollectionsSettingsPayload!