v1Ressources/Social Listening/patchUpdate a theme
Update a theme
Renames a pinned theme or changes its rule. Send pin: true first to turn an automatic theme into one you control.
patch
listening:write/api/v1/listening/themes/{id}Paramètres de requête
idstringobligatoire
The theme's id.
Corps de la requête
clientIdstringobligatoire
The client (business) this concerns.
labelstringfacultatif
The theme's name.
rulearray of objectfacultatif
A replacement rule, in the same shape as when creating a theme.
pinbooleanfacultatif
Send true to pin an automatic theme.
Réponse
dataobjectfacultatif
themeobjectfacultatif
The theme after the change.
Erreurs
400Il manque un paramètre requis à la requête, ou elle est invalide.
401Clé API manquante, invalide, expirée ou révoquée.
403La clé n'a pas la permission requise, ou n'est pas autorisée pour ce client/établissement.
404La ressource est introuvable, ou n'appartient pas à votre agence.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
patch/api/v1/listening/themes/{id}
Votre clé API
id *
Corps de la requête*
{}