Rename Topic using API

In situations like these I find it very helpful to install postman to minimize any content-type errors or authorization headers that can be hard to debug sometimes.

To rename a topic send a PUT request to http://discourse.example.com/t/-/1.json (you can just use a hyphen for the slug, instead of the actual slug, but it can’t be blank). In the body of your PUT quest include the api_key, api_username, and title. Send it with content-type form-data.