There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

Update the topic

Last updated May 31, 2023

PUT /content/api/v2/topics/:topic_id

Method Details

HTTP Methods:

PUT

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Updates the Topic in the database.
If not all the fields are included in the body, we will only update the included fields.

Required Parameters How to use Description
topic_id Used in the request URL Unique identifier for a particular blog
HubSpot OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.

AllowedJSON Fields in the body

Parameter name Type Description
name string The name of the topic
slug string How the topic will appear in the url. The slug will be appended to the blog URL to make the url for the topic page