Skip to main content

setSiteColors

Stores the first 100 supplied colors in site metadata and returns the site. Requests a tracking script refresh. Requires survey edit access, CTA edit access, or site settings edit access, and an editable site.

setSiteColors(
siteId: Int!
colors: [String]!
): Site!

Arguments​

setSiteColors.siteId ● Int! non-null scalar​

Site ID from sites.

setSiteColors.colors ● [String]! non-null scalar​

Color strings to replace the stored list; only the first 100 entries are saved.

Type​

Site object​

A site with derived activity/install status plus optional tracking and settings data normalized for GraphQL clients. Returned by site and sites.