v1Recursos/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}Parâmetros de consulta
idstringobrigatório
The theme's id.
Corpo da solicitação
clientIdstringobrigatório
The client (business) this concerns.
labelstringopcional
The theme's name.
rulearray of objectopcional
A replacement rule, in the same shape as when creating a theme.
pinbooleanopcional
Send true to pin an automatic theme.
Resposta
dataobjectopcional
themeobjectopcional
The theme after the change.
Erros
400Falta um parâmetro obrigatório na solicitação, ou ela é inválida de outra forma.
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
patch/api/v1/listening/themes/{id}
Sua chave de API
id *
Corpo da solicitação*
{}