API reference

updateWhiteLabelTheme

Required permission: WhiteLabelWrite

graphql
updateWhiteLabelTheme(
  whiteLabelId: ID!
  patch: ThemePatch!
): WhiteLabel

Arguments

Name Type Description
whiteLabelId ID!
patch ThemePatch!

Returns

WhiteLabel

Example

graphql
mutation UpdateWhiteLabelTheme($whiteLabelId: ID!, $patch: ThemePatch!) {
  updateWhiteLabelTheme(whiteLabelId: $whiteLabelId, patch: $patch) {
    id
    label
    createdAt
    updatedAt
    androidPackageName
    androidPlayStoreSigningCertificateSha256Fingerprint
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { updateWhiteLabelTheme(...) { __typename } }"}'