v1Resources/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/api/v1/listening/themes/{id}
listening:write
Query parameters
idstringrequired
The theme's id.
Request body
clientIdstringrequired
The client (business) this concerns.
labelstringoptional
The theme's name.
rulearray of objectoptional
A replacement rule, in the same shape as when creating a theme.
pinbooleanoptional
Send true to pin an automatic theme.
Response
dataobjectoptional
themeobjectoptional
The theme after the change.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
patch/api/v1/listening/themes/{id}
Your API key
id *
Request body*
{}

New to the Synup API?