# Rename Topic using API

**URL:** <https://meta.discourse.org/t/rename-topic-using-api/65962>\
**Category:** Product Support\
**Created:** [July 10, 2017, 7:09pm UTC](https://meta.discourse.org/t/rename-topic-using-api/65962 "2017-07-10T19:09:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [July 10, 2017, 10:05pm UTC](https://meta.discourse.org/t/rename-topic-using-api/65962/2 "2017-07-10T22:05:41Z")

</div>

In situations like these I find it very helpful to install [postman](https://www.getpostman.com/apps) 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.

 ![](https://global.discourse-cdn.com/meta/original/3X/0/c/0c2fec2594fc0837766368159ee065f42f2c3470.png)

---

_[View the full topic](https://meta.discourse.org/t/rename-topic-using-api/65962)._
