hosting

PATCH /v1/site-groups/{groupId}

Rename or recolour a site group.

Alle hosting-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

curl -X PATCH https://api.zinndigital.com/v1/site-groups/{groupId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

Fields omitted from the body are left alone. Gated on `sites.groups.manage`.

Parameters

NaamTypeVerplichtWat dit is
groupId (path)stringJa

Aanvraaglichaam

NaamTypeVerplichtWat dit is
namestringNee
colourstring<slate, blue, green, amber, red, purple, teal, pink>Nee
notesstringNee

Reactie

NaamTypeVerplichtWat dit is
idstringJa
namestringJaUnique per organisation, case-insensitively. Two groups called `Casino` and `CASINO` are a support ticket rather than a feature — nobody can tell them apart in a filter and half…
colourstring<slate, blue, green, amber, red, purple, teal, pink>JaA chip colour from a closed set, never a free hex value. The dashboard draws these through the design system's contrast-checked tone tokens; a customer-supplied colour would ren…
notesstringJaThe operator's own note. Never published, never shown to anyone else.
site_countintegerJa
created_atstringJa
updated_atstringJa

Fouten die dit eindpunt kan retourneren

401 · 403 · 404 · 422