Stumped on API update of topic

I feel like I’ve read every post out there about the discourse API and how to reverse engineer it-- But I’m baffled by the behavior I’m seeing right now and can’t seem to find a post out there that already addresses it.

I’m trying to programmatically set tags for topics.
Following the reverse engineered API call, it should be:

payload = {"tags": ["tag0", "tag1"]}
topic_url = ""
r = session.put(

I get a 200 response from this, but none of the topic tags change. I’ve tried it with all the topic properties I can think of, and am getting a 200 each time but no updates are actually occuring.

What’s the simple thing I’m forgetting!?

1 Like